coldcut Beginner
Joined: 09 Apr 2003 Posts: 17 Location: USA
|
Posted: 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 ;) |
|