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
Remnant
Newbie


Joined: 26 Jan 2006
Posts: 2

PostPosted: Thu Jan 26, 2006 9:00 am   

2 newbie script questions
 
guys, pretty darn new so please don't shoot me down for this one. i'm using 7.21. there are a couple of things in my noob triggers that i can't quite work out. i'd appreciate some assistance.

1. if i see in the help file a full trigger expression like this one - #TRIG {^You get (%d) coins} {split %1} autosplit - where exactly do i put this? i really can't work it out. if i click triggers and create a new one i get the pattern section and then the value section. i know you can't just shove it all in Vlaue or it won't work, as part of it IS the pattern. i'm really lost. i assume i could simply put in the whole line somewhere to build the trigger if i knew WHERE to input it...

2. i have two triggers that has a few lines, one includes a wait command which works perfectly. the other, however, i want to use the SKIP command to skip some lines the moment it gets triggered. when i try and stick #SKIP in it says syntax is invalid, but #WAIT works ok, and they are both listed in the help file as options for triggers. what am i doing wrong here?

thanks for the patience. if i sort these things out i'll be pretty right i think... for now! Smile
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Thu Jan 26, 2006 10:48 am   
 
1. Put it in the command line and press enter as if you wanted to send it to the m**.
Commands start with the # sign and that sign tells zMUD to execute whatever follows it.


2. #WAIT should be replaced with #ALARM. #WAIT can wreak havoc with trigger processing, as discussed here.

There is no #SKIP command. SKIP is a multi-state trigger Option/Parameter, as described here.


The best part of zMUD help is the reference section, and specifically this, imho.

If this is too much to digest, or you need more help, please ask again. Wink
Reply with quote
Remnant
Newbie


Joined: 26 Jan 2006
Posts: 2

PostPosted: Thu Jan 26, 2006 11:19 am   thanks, i'll get there i guess
 
thanks for that. the alarm bit i hadn't read, and makes sense, so that's been fixed.

i'm still a bit confused about skip, but i'll try and work through it. what you said about it doesn't really make sense to me yet, but i gues as i start to trawl through more examples from others i'll work it.

there is probably a better way to achieve what i want with that anyway - i'll keep reading up!

one more q though. if you stick the whole string all in the com line, does it add itself as a script for that char and save itself? if i come back later and check the triggers section in the GUI will it include the one added at the command line? i tried one and it didn't seem to, but i'm not sure i got it right.

thanks for the patience!
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Thu Jan 26, 2006 1:41 pm   
 
Entering a command on the command line will create a new setting which can be viewed/edited with the settings editor. It will be created in the class that is the then-current-class. The setting will remain for the current character session. Depending on what preferences/options are set in zMUD, the setting may be saved, lost or prompted for saving, when the session is closed. Also, by selecting FILE>SAVE on the menu bar in the settings editor, you can save all of the the current settings for future sessions.
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