Recriuter
icon='R.dmi'
verb
Talk()
set name = "Talk"
set category = "Social Commands"
set src in oview(1)
switch(input("Shall I heal you?") in list("Yes","No"))
if("Yes")
usr << "You Healed, No go back to war soldier"
if("No")
usr << "Leave Before I Have To Make You"
density=1
This is my code so far, what must i add so that the recriter can heal you? any example would be great
ID:261297
Dec 4 2001, 7:39 am
|
|
Dec 4 2001, 7:42 am
|
|
usr.health+=[somenumberhere]
|
In response to Nadrew
|
|
thanks, but i need the health to equal the max health and not just + other wise people will just keep adding health.
|
mob/var/health = 50 Take a look at that. |
Wouldnt this work?
Recriuter icon='R.dmi' verb Talk() set name = "Talk" set category = "Social Commands" set src in oview(1) switch(input("Shall I heal you?") in list("Yes","No")) if("Yes") usr.Hp=MHP usr << "You Healed, No go back to war soldier" if("No") usr << "Leave Before I Have To Make You" density=1 |
In response to Super saiyan3
|
|
usr.Health=usr.Maxhealth
|
In response to Nadrew
|
|
Thank you very much.
|