Istroath Novice
Joined: 11 Feb 2005 Posts: 39
|
Posted: Sat Feb 19, 2005 2:50 pm |
ok this is what my prompt looks like before any changes
^HP:230 EP:230>$
so this is a tipical room with prompt folowing
^Roomname(n, e and s)$
^ A item$
^HP:230 EP:230>$
now if i dont change my prompt at all on the mud it well always look like that. but if i alter the prompt setting at all on the mud it well change back to the original (as above) when you are a ghost untell you go rest and get a new body.
now i have my own prompt stuff i also use to alter the color of the hp and ep sepretly depending on there level and this is what it looks like ill also post my prompt code so you have a better idea of what it realy looks like.
prompt after my zmud changes:
^X HP:230 EP:230 X$
code used to change the prompt:
#CLASS {Prompt}
#TRIGGER {^HP:(%d) EP:(%d)>$} {#VAR HP %1;#VAR EP %2;%if(@HP<65,redhp,%if(@HP<135,yellowhp,%if(@HP<190,greenhp,cyanhp)));#SUB @HPEP}
#ALIAS redhp {%if(@EP<65,redred,%if(@EP<130,redyellow,%if(@EP<180,redgreen,redcyan)))}
#ALIAS yellowhp {%if(@EP<65,yellowred,%if(@EP<130,yellowyellow,%if(@EP<180,yellowgreen,yellowcyan)))}
#ALIAS greenhp {%if(@EP<65,greenred,%if(@EP<130,greenyellow,%if(@EP<180,greengreen,greencyan)))}
#ALIAS cyanhp {%if(@EP<65,cyanred,%if(@EP<130,cyanyellow,%if(@EP<180,cyangreen,cyancyan)))}
#ALIAS cyangreen {#VAR HPEP "%ansi(blue,black)X %ansi(high,cyan,black)HP:@HP %ansi(high,green,black)EP:@EP %ansi(blue,black)X"}
#ALIAS cyanred {#VAR HPEP "%ansi(blue,black)X %ansi(high,cyan,black)HP:@HP %ansi(high,red,black)EP:@EP %ansi(blue,black)X"}
#ALIAS cyanyellow {#VAR HPEP "%ansi(blue,black)X %ansi(high,cyan,black)HP:@HP %ansi(high,yellow,black)EP:@EP %ansi(blue,black)X"}
#ALIAS greencyan {#VAR HPEP "%ansi(blue,black)X %ansi(high,green,black)HP:@HP %ansi(high,cyan,black)EP:@EP %ansi(blue,black)X"}
#ALIAS greengreen {#VAR HPEP "%ansi(blue,black)X %ansi(high,green,black)HP:@HP EP:@EP %ansi(blue,black)X"}
#ALIAS greenred {#VAR HPEP "%ansi(blue,black)X %ansi(high,green,black)HP:@HP %ansi(high,red,black)EP:@EP %ansi(blue,black)X"}
#ALIAS greenyellow {#VAR HPEP "%ansi(blue,black)X %ansi(high,green,black)HP:@HP %ansi(high,yellow,black)EP:@EP %ansi(blue,black)X"}
#ALIAS redcyan {#VAR HPEP "%ansi(blue,black)X %ansi(high,red,black)HP:@HP %ansi(high,cyan,black)EP:@EP %ansi(blue,black)X"}
#ALIAS redgreen {#VAR HPEP "%ansi(blue,black)X %ansi(high,red,black)HP:@HP %ansi(high,green,black)EP:@EP %ansi(blue,black)X"}
#ALIAS redred {#VAR HPEP "%ansi(blue,black)X %ansi(high,red,black)HP:@HP EP:@EP %ansi(blue,black)X"}
#ALIAS redyellow {#VAR HPEP "%ansi(blue,black)X %ansi(high,red,black)HP:@HP %ansi(high,yellow,black)EP:@EP %ansi(blue,black)X"}
#ALIAS yellowcyan {#VAR HPEP "%ansi(blue,black)X %ansi(high,yellow,black)HP:@HP %ansi(high,cyan,black)EP:@EP %ansi(blue,black)X"}
#ALIAS yellowgreen {#VAR HPEP "%ansi(blue,black)X %ansi(high,yellow,black)HP:@HP %ansi(high,green,black)EP:@EP %ansi(blue,black)X"}
#ALIAS yellowred {#VAR HPEP "%ansi(blue,black)X %ansi(high,yellow,black)HP:@HP %ansi(high,red,black)EP:@EP %ansi(blue,black)X"}
#ALIAS yellowyellow {#VAR HPEP "%ansi(blue,black)X %ansi(high,yellow,black)HP:@HP EP:@EP %ansi(blue,black)X"}
#ALIAS cyancyan {#VAR HPEP "%ansi(blue,black)X %ansi(high,cyan,black)HP:@HP EP:@EP %ansi(blue,black)X"}
#VAR HP {}
#VAR EP {}
#VAR HPEP {}
#CLASS 0 |
|