Can someone write me out a sample trigger so I can use it for rolls and apply it to other things.
Triggers
For JMC (JABA MUD CLIENT)
#action {[%1]} #if {%1 < 53} {roll}
to roll
and after you get that 53
#unact {[%1]}
example trigger:
#action {disarms you and} {get staff;wear staff}
I guess I should have been more specific. I just an older verison of ZMUD
cough GMUD cough
Well I can get the triggers to fire, but they do it too much. I make it to where something happens, but it will happen so much that it crashes zmud.
#TRIGGER {pattern} {command} is what you should use, for example
#TRIGGER {become better at} {#COLOR white} would highlight a line with the "become better at" pattern!
#TRIGGER {and send your weapon} {take 1.; wield 1.} would grab the first thing from the floor and wield it if you are disarmed.
i use gmud, its pretty much all coded for you... maybe you should try it? it actualy recognises the text the game displays to you, and enters whatever commands you type in the action box.
Notice that stickied on this forum are some triggers posted by Melinda as well.
Pattern: (%d)] Cmds:
Trigger: #if (%1 > @Highest) {#VAR Highest %1}
#SHOW {Highest [@Highest] Goal [@Goal]}
#if (%1 >= @Goal) {#SAYP Spank me sweet Jesus!
#t- roll
#beep} {roll}
The class for the trigger should be roll so it automatically disables the trigger when you get the desired amount.
type goal = (amount desired for total roll) to set your standard and go for it.
This is a trigger written by a player here, a long time ago. I only added the "class" part so it would be disabled when finished.
This is for zMUD. ![]()
Thanks. Now suppose I want a training trigger, the same thing happens.
Under the pattern I type something like:
You once again begin to look and act like your good old self.
Then under commands, cant I just type:
disguise {character name}
Thanks. Now suppose I want a training trigger, the same thing happens.
Under the pattern I type something like:
You once again begin to look and act like your good old self.
Then under commands, cant I just type:
disguise {character name}
You could also use the MUD's alias system.
Go to www.qhcf.net and click on the script boards. There should be some exampels of triggers there for nearly all mud clients.
