Page 1 of 1

Trigger Help

Posted: 10 Apr 2016 08:37
by Kwevin
So we've all made triggers. We've made color triggers, and we've made triggers to do a great many things.

Some of you may have even done that thing where you can make one trigger fire on two separate words. Luckies. For those of you that have, could you help me? I can't figure it out, and the example on the guide doesn't work.

Help?

Re: Trigger Help

Posted: 10 Apr 2016 12:40
by morgzaash
We mey need more info : clinet, language that client uses etc. ...
Maybe some example when you want to trigger.

Re: Trigger Help

Posted: 10 Apr 2016 19:30
by Kwevin
Oh, right. I use the web client, in English.

I tried just the obvious 'exit' and 'exits' but it didn't work.

I was kinda hoping something like 'killed him' and 'killed it'.

Re: Trigger Help

Posted: 10 Apr 2016 19:53
by morgzaash
Web client uses java(script). There is discussion, huge help and a lot of problems solved in :
https://www.genesismud.org/forums/viewforum.php?f=37

Re: Trigger Help

Posted: 12 Apr 2016 13:53
by Mayobe

Re: Trigger Help

Posted: 13 Jun 2016 07:48
by Zhar

Re: Trigger Help

Posted: 13 Jun 2016 09:16
by Celemir
Name: exits
Type: regexp
Pattern: obvious (?:exit|exits)

Execute the following javascript:
gwc.output.color("green");

It has some fault, it only colour directions in the first line.

eksample:
There are five obvious exits: down, southwest, southeast, northwest and
northeast.

northeast will not be coloured.
Well it works most of the time ;)