switch inpt in Developer Help
|
|
Code:
if(DMG1 > DMG2) switch(input(usr,"","Your Going to die if you keep going like this would you like to add more chakra?") in list ("Yes","No")) if("Yes") var/Add = input("How Much Chakra?")as num if(Add >= usr.Chakra) goto DEATH return else DMG1+=Add usr.Chakra-=Add goto DEATH if("No") goto DEATH if(DMG2 > DMG1) switch(input(src,"","Your Going to die if you keep going like this would you like to add more chakra?") in list ("Yes","No")) if("Yes") var/Add2 = input("How Much Chakra?")as num if(Add2 >= usr.Chakra) goto DEATH return else DMG2+=Add2 src.Chakra-=Add2 goto DEATH if("No") goto DEATH
|
Problem description:
the switch(input(
wont ask the src or the usr the question the collide happens in chidori but thats it the alert / input wont pop up to ask the question to either usr.
|