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

 #1 Jul 22 2011, 9:26 pm 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() <[src] took [DMG3] Dmg from [usr]'s Chidori"}, "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.
 #3 Jul 23 2011, 2:07 am If DMG1 equals DMG2 neither pop ups will show.
 #4 Jul 23 2011, 3:28 am In response to Rotem12 (#3) i got it fixed and working after a long night of no sleep thanks for help. rotem and lugia