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
Eul
Wanderer


Joined: 30 Jun 2007
Posts: 53

PostPosted: Wed Jan 12, 2011 12:09 pm   

Trigger help
 
I am trying to make a triger to capture some information and add it to a list, and I was after a little help as I appear to be rather terrible at all this. Here is the problem, and since I dont have access to the mud or Zmud I'll just have to try my best to explain.

I am trying to capture multiple words on the same line but I just keep managing to capture one, for example;

look bowl
There is a black banana, two orranges, one pear and an overly ripe apple here.

So I am trying to capture banana, orange, pear and apple and add them to a list. I tried;

#t (%w),| an| here.
%additem %i @bowl

to capture the information but I only ever get one of the items... and I am sorry if my shoddy memory of how I did it is WAYYYYY off there.

Anyway, if someone could just point me in the right direction that would be awesome.
Please dont solve the problem because then I'll never learn.

Also one other issue, I have an alarm to turn this trigger off after a seccond so other stuff wont set it away once I do somethng else. Is the minimun time for #alarm? Can I use .5 as a value?

E.
Reply with quote
Eul
Wanderer


Joined: 30 Jun 2007
Posts: 53

PostPosted: Wed Jan 12, 2011 12:13 pm   
 
OH wait, there is a good question, is there a way to use the next line from the mud using look bowl, or maybe something along those lines?

Thanks again.
Reply with quote
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: Thu Jan 13, 2011 1:08 am   
 
you can use .5 for alarm.
(*) {an|here}
#condition
^
$
...
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