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
kevlar
Beginner


Joined: 27 May 2005
Posts: 18

PostPosted: Sat Jun 04, 2005 8:07 pm   

newbie question, not sure where to start.
 
i've been on MUDs for quite a long time now but never really tried to do anything beyond the very basics with triggers. thought i would try some new stuff but am now realizing that i just don't know where to start.

basicly here is what i want to do. i want to automate a trigger to put all of something into a container, but using the word all in the MUD is not an option in this situation. i will get the following output from the MUD:

You have 1539 coins.

then i have to type: put 1539 coins in bag.

i'm sure this is really really simple, but like i said before, i just don't know where to start. what i'm hoping for in a responce is, "hay kevlar, read this topic in the zMud help, it's where you need to start."

thanks in advance,
kevlar
Reply with quote
GaidinBDJ
Wanderer


Joined: 15 Nov 2002
Posts: 52
Location: Las Vegas, Nevada

PostPosted: Sat Jun 04, 2005 8:56 pm   
 
#trigger {^You have (%d) coins.$} {put %1 coins in bag}
_________________
Barry
Gaidin @ 3k.org
Reply with quote
GaidinBDJ
Wanderer


Joined: 15 Nov 2002
Posts: 52
Location: Las Vegas, Nevada

PostPosted: Sat Jun 04, 2005 8:58 pm   
 
Look at the "triggers, introduction", and the "patterns" help

There's more examples there.
_________________
Barry
Gaidin @ 3k.org
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