Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
yared
Beginner


Joined: 11 Dec 2003
Posts: 17
Location: Netherlands

PostPosted: 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.
Reply with quote
Drystin
Beginner


Joined: 24 Jul 2002
Posts: 18
Location: Denmark

PostPosted: 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
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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.
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net