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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Hronden
Newbie


Joined: 25 Jan 2010
Posts: 7

PostPosted: Fri Nov 26, 2010 2:04 am   

Auto assist trigger
 
I am trying to assist on the following target line.

the stone golem slashes Cidd hard.

Using this code. It worked prior to the upgrade, but now I get an error saying it failed to compile.

<trigger priority="860" id="86">
<pattern>The %w (%w)* slash*</pattern>
<value>#IF {%1=%proper( @assist)} {ass;#T- Autoassist}</value>
</trigger>

There is a secondary trigger that turns the Autoassist back on after the mob dies.
Reply with quote
Fizgar
Magician


Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Fri Nov 26, 2010 2:44 am   
 
Looks like the brackets around your expression try this.
Code:
<trigger priority="860" id="1">
  <pattern>The %w (%w)* slash*</pattern>
  <value>#IF (%1=%proper( @assist)) {ass;#T- Autoassist}</value>
</trigger>


Most of the time you can find helpful information about things like that by pressing CTRL+K in the package editor.
_________________
Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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