|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Oct 14, 2006 8:49 pm
[1.10] Captured Data not evaluating Correctly |
Code: |
#TRIGGER "test" {Online Now: (%d)} {
$test=%1-1
#SAY CAPTURED: %1 LOCAL: $test INLINE: (%1-1)
} |
Input: Online Now: 21
Result: CAPTURED: 21 LOCAL: -1 INLINE -1
But if I do it like this it works
Code: |
#TRIGGER "test" {Online Now: (%d)} {
$test=%int(%1)-1
#SAY CAPTURED: %1 LOCAL: $test INLINE: (%1-1)
} |
Input: Online Now: 21
Result: CAPTURED: 21 LOCAL: 20 INLINE: 20
After I call %int on the first %1 it works for the rest of them but I shouldnt have to use %int from a (%d) capture! |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Oct 17, 2006 12:13 am |
Added to bug list.
|
|
|
|
|
|