|
stark62 Wanderer
Joined: 04 Apr 2003 Posts: 94 Location: United Kingdom
|
Posted: Thu Dec 07, 2006 6:09 pm
Help me to stay alive |
Trying to stop myself dying all the time in a PKILL mud with some help on a cure warning type thing.
I want to do something like this :-
a variable say @cure has values from 0 - 5 (this is changed by a number of triggers #add cure 1)
On a status window I wish to show :-
if @cure = 0 (show nothing (no words))
if @cure = 1-5 (show potion in a green colour)
I been trying all afternoon and I know its got to be easy
Any help would be much appreciated |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Dec 07, 2006 6:33 pm |
In the statuswindow:
%if(@cure=0,"")%if(@cure=1,do whatever)%if(@cure=2,do whatever)
and so on. |
|
|
|
stark62 Wanderer
Joined: 04 Apr 2003 Posts: 94 Location: United Kingdom
|
Posted: Thu Dec 07, 2006 6:47 pm |
thanks
so quick .... you do realise im going to be asking so much stuff now ;)
thanks again |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Dec 07, 2006 8:16 pm |
What can I say? I'm a glutton for punishment :P
|
|
|
|
|
|