ID:150130
 
okay I have this

name = input("[usr]","what is your name?","name","[key]")
guardian = input("[usr]","What is your Guardian?","guardian")in list ("Fire Guardian Dragon","Water Guardian Hydra","Wind Guardian Pegasus","Earth Guardian Dwarf")
if("Fire Guardian Dragon")
usr.icon = 'wraith.dmi'
usr << "DRAGON: You are now under my protection, I want your aid to help me grow strong to defeat Death."
return ..()

if("Water Guardian Hydra")
usr.icon = 'player.dmi'
usr << "HYDRA: You are now under my protection, I want your aid to help me grow strong to defeat Death."
return ..()
if("Wind Guardian Pegasus")
usr.icon = 'energy.dmi'
usr << "PEGASUS: You are now under my protection, I want your aid to help me grow strong to defeat Death."
return ..()

if("Earth Guardian Dwarf")
usr.icon = 'oflower.dmi'
usr << "DWARF: You are now under my protection, I want your aid to help me grow strong to defeat Death."
return ..()


but I always end up turning into a wraith with the dragon speaking?
Why?
please help...
Look up switch()
In response to Nadrew (#1)
hmm if I can find it
In response to Vermolius (#2)
okay I have looked it up but could you give me an example of how I would put it in?
Instead of having this as an if statement:
if("Fire Guardian Dragon")

Try this:

if(guardian == "Fire Guardian Dragon")

or try this for switch:

switch(guardian)
if("Fire Guardian Dragon")
[whatever happens here]
if("Ice Guardian Dragon")
[whatever happens here]
In response to Bingis (#4)
woah thanks bingis