|
Isuka Newbie
Joined: 10 Oct 2007 Posts: 1
|
Posted: 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? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Oct 10, 2007 3:50 am |
Confirmed, it's not working for triggers.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Oct 10, 2007 5:18 pm |
Added to bug list.
|
|
|
|
|
|