 |
necropsian Beginner
Joined: 29 Jan 2002 Posts: 14 Location: USA
|
Posted: Sat Mar 16, 2002 6:01 am
#-# triggering |
I was wondering how i would make a color trigger, so that any number in between 50 and 1000 followed by the letters tnl would turn bright green. Any help i greatly appreciate. :)
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Mar 16, 2002 7:59 am |
Enter this at the command line:
#TR {(%d)tnl} {#IF ((%1 > 50) AND (%1 < 1000)) {#CW 10}
LightBulb
All scripts untested unless otherwise noted |
|
|
 |
necropsian Beginner
Joined: 29 Jan 2002 Posts: 14 Location: USA
|
Posted: Sat Mar 16, 2002 8:08 am |
Now whenever my prompt line pops up, zMUD sends '{#IF' to the mud
|
|
|
 |
necropsian Beginner
Joined: 29 Jan 2002 Posts: 14 Location: USA
|
Posted: Sat Mar 16, 2002 8:10 am |
nevermind, i just deleted the { before #IF and it works fine now, thanks :)
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Mar 16, 2002 3:00 pm |
Correction:
#TR {(%d)tnl} {#IF ((%1 > 50) AND (%1 < 1000)) {#CW 10}}
LightBulb
All scripts untested unless otherwise noted |
|
|
 |
|
|