|
yared Beginner
Joined: 11 Dec 2003 Posts: 17 Location: Netherlands
|
Posted: Fri Feb 20, 2004 12:20 am
[TR] boost + check |
ZMud 4.62 (valheru.com)
CLASS: boost1
PATTERN: You feel divine forces abandoning you.
COMMAND: #T+ boost1chk;affect
CLASS: boost1chk
PATTERN: ^Bless
COMMAND: #IF (%1 != Bless) {#if (mana > 40) {bless}};#t- boost1chk
Output for 'affect' is as follows:
--------
You are affected by:
Bless
--------
For some reason it will not cast bless or turn of boost1chk.
It's late, I might be overlooking something. |
|
|
|
Drystin Beginner
Joined: 24 Jul 2002 Posts: 18 Location: Denmark
|
Posted: Sun Jul 25, 2004 8:20 am |
Http://zmud.1go.dk
there is a few scripts and other stuff there, check it out, you might find something you like there..
I have made a haste and bless trigger that will keep you hastet in groups.. |
|
_________________ Drystin |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Jul 25, 2004 6:34 pm |
Yes, you are overlooking something. What is %1? You haven't defined it.
Use parentheses to define portions of your pattern as %1-%99.
PATTERN: ^(Bless) |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Sun Jul 25, 2004 6:45 pm |
lol, even that isn't necessary, as the trigger will only fire when it sees the word bless anyway
|
|
|
|
|
|