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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
coldcut
Beginner


Joined: 09 Apr 2003
Posts: 17
Location: USA

PostPosted: Wed Apr 09, 2003 7:17 pm   

neat little chat script for medievia
 
this only works if you have the DEFAULT prompt...players know what i mean..they got goofy prompt options now.

#class {ogreschat}
#trigger {~<(%d)hp (%d)m } {#var CurrentMana %2;#var CurrentHP %1}
#trigger {NOTICE: You are leaving a PLAYER KILLING Area.} {#var PKType {%ansi( high, green)LPK}}
#trigger {WARNING! You HAVE ENTERED a CHAOTIC PLAYER KILLING Area!} {#var PKType {%ansi( high, red)CPK}}
#trigger {WARNING! You HAVE ENTERED a NEUTRAL PLAYER KILLING Area!} {#var PKType {%ansi( high, yellow)NPK}}
#trigger {WARNING! You HAVE LEFT a CHAOTIC PLAYER KILLING AREA and ENTERED a NEUTRAL} {#var PKType {%ansi(high, yellow)NPK}}

#alias {ch} {#var chattext {%-1};#chatall %ansi(bold,1)HP%if(@currenthp<251,%ansi(red,bold))%if(@currenthp>=251,%ansi(yellow,bold))%if(@currenthp>550,%ansi(green,bold))@currenthp"/"%ansi(bold,1)Mana%if(@currentmana<251,%ansi(red,bold))%if(@currentmana>=251,%ansi(yellow,bold))%if(@currentmana>550,%ansi(green,bold))@currentmana%ansi(1)%ansi(cyan,bold)-%ansi(cyan,bold)O%ansi(7,bold)@chattext%ansi(cyan,bold)O%ansi(cyan,bold)-%ansi(high,yellow)"["@PKType%ansi(high,yellow)"]"}

#alias {pch} {#var chatname {%w};#var chattext {%*};#chat %1 %ansi(bold,1)HP%if(@currenthp<251,%ansi(red,bold))%if(@currenthp>=251,%ansi(yellow,bold))%if(@currenthp>550,%ansi(green,bold))@currenthp"/"%ansi(bold,1)Mana%if(@currentmana<251,%ansi(red,bold))%if(@currentmana>=251,%ansi(yellow,bold))%if(@currentmana>550,%ansi(green,bold))@currentmana%ansi(1)%ansi(cyan,bold)-%ansi(cyan,bold)O%ansi(7,bold)%-2%ansi(cyan,bold)O%ansi(cyan,bold)-%ansi(high,yellow)"["@PKType%ansi(high,yellow)"]"}

#alias {gch} {#var chatname {%w};#var chattext {%*};#chatgroup %1 %ansi(bold,1)HP%if(@currenthp<251,%ansi(red,bold))%if(@currenthp>=251,%ansi(yellow,bold))%if(@currenthp>550,%ansi(green,bold))@currenthp"/"%ansi(bold,1)Mana%if(@currentmana<251,%ansi(red,bold))%if(@currentmana>=251,%ansi(yellow,bold))%if(@currentmana>550,%ansi(green,bold))@currentmana%ansi(1)%ansi(cyan,bold)-%ansi(cyan,bold)O%ansi(7,bold)%-2%ansi(cyan,bold)O%ansi(cyan,bold)-%ansi(high,yellow)"["@PKType%ansi(high,yellow)"]"}
#class 0


The slice of ice with xtra spice ;)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts 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