Trigger Help

Need some help with your MUD client? Forgot your password? Get help here.
Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
Post Reply
Kwevin
Veteran
Posts: 207
Joined: 21 Mar 2016 09:17

Trigger Help

Post by Kwevin » 10 Apr 2016 08:37

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?
Alea iacta est. Serius regredi est.

User avatar
morgzaash
Adventurer
Posts: 99
Joined: 13 Jul 2015 10:25
Location: Sopot, PL
Contact:

Re: Trigger Help

Post by morgzaash » 10 Apr 2016 12:40

We mey need more info : clinet, language that client uses etc. ...
Maybe some example when you want to trigger.

Kwevin
Veteran
Posts: 207
Joined: 21 Mar 2016 09:17

Re: Trigger Help

Post by Kwevin » 10 Apr 2016 19:30

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'.
Alea iacta est. Serius regredi est.

User avatar
morgzaash
Adventurer
Posts: 99
Joined: 13 Jul 2015 10:25
Location: Sopot, PL
Contact:

Re: Trigger Help

Post by morgzaash » 10 Apr 2016 19:53

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

User avatar
Mayobe
Adept
Posts: 133
Joined: 23 Jan 2016 08:28
Location: Bree

Re: Trigger Help

Post by Mayobe » 12 Apr 2016 13:53


User avatar
Zhar
Wizard
Posts: 1079
Joined: 17 Apr 2012 12:09

Re: Trigger Help

Post by Zhar » 13 Jun 2016 07:48

Time is precious. Waste it wisely.

Celemir
Wanderer
Posts: 64
Joined: 11 Mar 2016 10:02

Re: Trigger Help

Post by Celemir » 13 Jun 2016 09:16

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 ;)

Post Reply
http://tworzymyatmosfere.pl/przescieradla-jedwabne-z-gumka/