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
Laeros
Newbie


Joined: 29 Apr 2011
Posts: 2

PostPosted: Thu Jul 18, 2013 12:59 am   

Trigger help please, friends highlight list
 
I'm trying to setup a highlight list using a trigger and a string list to color the text for people in the list. It has been awhile since I used CMud, and I am not having luck getting triggers to work.

I'm using CMud 3.34 and Windows 7.
Also, even simple triggers do not seem to work.

<trigger priority="1" trigontrig="false" language="Lua" id="25">
<pattern>You are low on health!</pattern>
<value>#SEND {Heal me}
</value>
</trigger>
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Jul 18, 2013 10:34 pm   
 
there is no lua being used in your trigger. Either convert the code to the equivalent lua syntax or switch the trigger language to Zscript.
_________________
EDIT: I didn't like my old signature
Reply with quote
Laeros
Newbie


Joined: 29 Apr 2011
Posts: 2

PostPosted: Fri Jul 19, 2013 1:48 am   
 
thanks, I did not look close enough at what I was doing obviously. The above trigger works fine now.
My name highlight trigger is working as well.
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