ID:264965
 
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.


This is a bump() proc. There is no "usr" but the src one should work.
In response to Lugia319 (#1)
Lugia319 wrote:
This is a bump() proc. There is no "usr" but the src one should work.


src doesnt work either but if if other usr doesnt use chidori

the
            if(usr.Chidorion==1&&!src.Chidorion)
var.DMG3=usr.ChidoriD
view() <<output({"<font color=red><b>[src] took [DMG3] Dmg from [usr]'s </b><font color=#7FFF00><b> Chidori</b>"}, "Chat.ChatO")
src.Health-=DMG3
usr.ChidoriD=0
src.attacking=0
usr.overlays -= 'Chidori.dmi'
usr.overlays -= 'Chidori.dmi'
usr.speed=usr.Maxspeed
usr.icon_state= ""
usr.attacking=0
usr.Chidorion=0
usr.Death(src)
return


in which i still use usr and src in it works fine Src is Him usr is me for some reason if u like lugia i can put it up and give u a link or let u teamviewer for u to see.
If DMG1 equals DMG2 neither pop ups will show.
In response to Rotem12 (#3)
i got it fixed and working after a long night of no sleep thanks for help. rotem and lugia