Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
ondrovic
Beginner


Joined: 22 Feb 2002
Posts: 25
Location: USA

PostPosted: Fri Feb 22, 2002 9:27 pm   

converting this script
 
I found this script for mud master that displays your enemys hit points in (%) and lets you know what (%) the are according to the type of damage you do and was wondering if you guys could help me out in converting to to work with zmud?

Here is the script:


/substitute {%0 barely clings to life.} {$0 barely clings to life. (1%-7%)@Chr(10)} {condition}
/substitute {%0 grimaces in pain.} {$0 grimaces in pain. (48%-54%)@Chr(10)} {condition}
/substitute {%0 grimaces with pain.} {$0 grimaces with pain. (48%-54%)@Chr(10)} {condition}
/substitute {%0 has a few scratches.} {$0 has a few scratches. (90%-99%)@Chr(10)} {condition}
/substitute {%0 has a nasty looking welt on the forehead.} {$0 has a nasty looking welt on the forehead. (83%-89%)@Chr(10)} {condition}
/substitute {%0 has many grievous wounds.} {$0 has many grievous wounds. (22%-28%)@Chr(10)} {condition}
/substitute {%0 has quite a few wounds.} {$0 has quite a few wounds. (55%-61%)@Chr(10)} {condition}
/substitute {%0 has some large, gaping wounds.} {$0 has some large, gaping wounds. (36%-40%)@Chr(10)} {condition}
/substitute {%0 has some minor wounds.} {$0 has some minor wounds. (69%-75%)@Chr(10)} {condition}
/substitute {%0 has some nasty wounds and bleeding cuts.} {$0 has some nasty wounds and bleeding cuts. (41%-47%)@Chr(10)} {condition}
/substitute {%0 has some small wounds and bruises.} {$0 has some small wounds and bruises. (76%-82%)@Chr(10)} {condition}
/substitute {%0 is covered with blood from oozing wounds.} {$0 is covered in blood from oozing wounds. (15%-21%)@Chr(10)} {condition}
/substitute {%0 is in excellent condition.} {$0 is in excellent condition. (100%)@Chr(10)} {condition}
/substitute {%0 is vomiting blood.} {$0 is vomiting blood. (15%-21%)@Chr(10)} {condition}
/substitute {%0 looks pretty awful.} {$0 looks pretty awful. (29%-35%)@Chr(10)} {condition}
/substitute {%0 pales visibly as Death nears.} {$0 pales visibly as death nears. (8%-14%)@Chr(10)} {condition}
/substitute {%0 pales visibly as death nears.} {$0 pales visibly as death nears. (8%-14%)@Chr(10)} {condition}
/substitute {%0 screams in agony.} {$0 screams in agony. (22%-28%)@Chr(10)} {condition}
/substitute {%0 winces in pain.} {$0 winces in pain. (62%-68%)@Chr(10)} {condition}


CHRIS ONDROVIC
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Feb 22, 2002 11:19 pm   
 
/substitute {%0 barely clings to life.} {$0 barely clings to life. (1%-7%)@Chr(10)}
#TRIGGER {barely clings to life.$} {#SUBSTITUTE {barely clings to life. (1~%-7~%)}}

You can use that example for the rest of them.

TonDiening
Beta Upgrading to 6.26
Reply with quote
ondrovic
Beginner


Joined: 22 Feb 2002
Posts: 25
Location: USA

PostPosted: Sat Feb 23, 2002 5:27 pm   
 
Thsnks ill try it and let you know and if it works i will post it in finished scripts

CHRIS ONDROVIC
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net