 |
Laeros Newbie
Joined: 29 Apr 2011 Posts: 2
|
Posted: 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> |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
 |
Laeros Newbie
Joined: 29 Apr 2011 Posts: 2
|
Posted: 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. |
|
|
 |
|
|