ID:941669
 
Ok so first off heres the coding that needs to be seen.
turf
Starting_Locations
firestart
icon = 'firestart.dmi'
layer = 100
mouse_opacity = 2
Click()
alert(usr, "Journey the world with a firey passion. Be born into the Fire Empire?" ,, "You got it" ,, "No")
if("You got it")
usr.icon = 'firebasetan.dmi'
usr.loc = locate(85,87,2)
..()
if("No")
usr.Shadow+=1
usr.FireNO+=1
usr.loc = locate(/turf/Other/Blank)
usr.icon = 'blank.dmi'
if(usr.Shadow==4)
usr.icon = 'boo.dmi'


Problem description: Now the problem is that when i just have yes it works fine but when i have if("No") then the yes doesnt work for some reason? Also the code was supose to make it so that if a person clicks no on 4 diferent things on title screen a secret would happen but when i click yes(which suppose to take me to the area but does nothing) on the 4 things the secret happens which is not suppose to. also how do i make my mobs and players move by each tile because they walk like 1/3 of the tile. i want to make them move the whole tile. And i made a run verb which makes them take more steps and i dont know if that will affect the movement after.

You are lacking the switch() statement.

A bit more detailed:

Without switch(), your DM is evaluating what you said, which will always be TRUE - unless it was an empty string. Thus why your first statement will always be called (unless switch() was defined where it will look for a specific value to the variable/proc/etc written as its argument)

Based on your snippet above, it looks like BOTH statements are being called. Don't believe me? Do an ouput << "X" in your first if() and a output << "Y" in your if("No") statement