BobcatFan Posted December 13, 2006 Report Share Posted December 13, 2006 Can someone write me out a sample trigger so I can use it for rolls and apply it to other things. Link to comment Share on other sites More sharing options...
snoreal Posted December 13, 2006 Report Share Posted December 13, 2006 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} Link to comment Share on other sites More sharing options...
BobcatFan Posted December 13, 2006 Author Report Share Posted December 13, 2006 I guess I should have been more specific. I just an older verison of ZMUD Link to comment Share on other sites More sharing options...
Fiere Posted December 13, 2006 Report Share Posted December 13, 2006 *cough* GMUD *cough* Link to comment Share on other sites More sharing options...
BobcatFan Posted December 14, 2006 Author Report Share Posted December 14, 2006 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. Link to comment Share on other sites More sharing options...
Vobbe Posted December 14, 2006 Report Share Posted December 14, 2006 #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. Link to comment Share on other sites More sharing options...
Jester Posted December 14, 2006 Report Share Posted December 14, 2006 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. Link to comment Share on other sites More sharing options...
Chayesh Posted December 14, 2006 Report Share Posted December 14, 2006 Notice that stickied on this forum are some triggers posted by Melinda as well. Link to comment Share on other sites More sharing options...
Mudder Posted December 14, 2006 Report Share Posted December 14, 2006 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. Link to comment Share on other sites More sharing options...
BobcatFan Posted December 14, 2006 Author Report Share Posted December 14, 2006 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} Link to comment Share on other sites More sharing options...
Chayesh Posted December 14, 2006 Report Share Posted December 14, 2006 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. Link to comment Share on other sites More sharing options...
Goomf Posted December 14, 2006 Report Share Posted December 14, 2006 Go to www.qhcf.net and click on the script boards. There should be some exampels of triggers there for nearly all mud clients. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.