Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
tiporder@aol.com
Newbie


Joined: 19 May 2003
Posts: 2
Location: USA

PostPosted: Mon May 19, 2003 6:22 am   

advanced trigger/scripting
 
Could someone please tell me how I can get triggers to take this information
[1] Begin drilling
[2] Move to new mining location
[3] Return drone to base
[4] Eject card and end session
[5] Cancel
and with triggers only go to drilling if the trigger before it permits it and only move to new location if the game says the resource is exhausted and so on?
Reply with quote
kilthan
Wanderer


Joined: 21 Jan 2003
Posts: 76

PostPosted: Mon May 19, 2003 7:43 am   
 
quote:

[1] Begin drilling
[2] Move to new mining location
[3] Return drone to base
[4] Eject card and end session
[5] Cancel




Do these steps on the mud and then show us the output. Otherwise I don't think we can help you that much.
Reply with quote
tiporder@aol.com
Newbie


Joined: 19 May 2003
Posts: 2
Location: USA

PostPosted: Mon May 19, 2003 7:46 am   
 
i dont need you to write it for me but ill provide you with a log of me working on this mining but i was just wondering if it was possible to make such scripts and triggers and how i would do this because im very used to making theese kinds of scripts on Simutronics Wizard FE and would like to be able to script like that on Zmud
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon May 19, 2003 5:33 pm   
 
Command line instructions:
1. #TR
2. TriggerID optional, use double-quotes or no delimiters
3. {Trigger pattern} pattern of text which indicates that it's time to do the commands in the next section
4. {Trigger value} Optional, the actual commands the trigger will perform. These can include both MUD commands and zMUD commands.
5. {Class} Optional, the folder to put the trigger in
6. {Options} Optional, a list of trigger options
7. ENTER After you've got your whole trigger command assembled on a single line, press the ENTER key

Except for the ID field (#2), optional fields must be included if you wish to use any of the fields that come after them. Blank optional fields can be indicated by using {} as a space-filler.

If you prefer, you can use the Settings Editor. Just click the zMUD button labeled Triggers.

This is all explained, probably in greater detail and clearer language, in the zMUD helpfiles. They aren't hard to find, just click the Help at the top of the zMUD screen.

LightBulb
Advanced Member
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net