|
DavidEdwards Newbie
Joined: 29 Oct 2002 Posts: 2 Location: United Kingdom
|
Posted: Tue Oct 29, 2002 11:00 pm
IF & Colour |
Can I use the IF statement in ZMUD to work out what the colour of a line is?
like:
%if("%1-colour"="yellow",DO-A,DO-B)
Thanks,
David Edwards |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Nov 01, 2002 6:44 am |
According to the helpfile on predefined variables, %linecol contains the color attribute of the first character in the line.
LightBulb
Senior Member |
|
|
|
DavidEdwards Newbie
Joined: 29 Oct 2002 Posts: 2 Location: United Kingdom
|
Posted: Sat Nov 02, 2002 7:50 pm |
ahhhh, thanks a lot!
|
|
|
|
|
|