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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Isuka
Newbie


Joined: 10 Oct 2007
Posts: 1

PostPosted: Wed Oct 10, 2007 3:12 am   

Recognizing params from triggers in LUA
 
Reading through the forums, it seems that I should be able to use a trigger such as:
Code:
^(%a) %s the venom (%w) %s (%d) %s (%d)$

and pull out the correct variables with: zs.param(1), zs.param(2) and so forth... but this doesnt' seem to be working. Every variable is returned as "0".

What am I doing wrong?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Oct 10, 2007 3:50 am   
 
Confirmed, it's not working for triggers.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Oct 10, 2007 5:18 pm   
 
Added to bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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