trigger: there is *
send to script: SetVariable ("Name", %1)
If %1 is a number,it works perfectly.
When %1 is a string,it goes wrong.
[string "Trigger: "]:1: bad argument #2 to `SetVariable' (string expected, got nil)
stack traceback:
[C]: in function `SetVariable'
[string "Trigger: "]:1: in main chunk
send to script: SetVariable ("Name", %1)
If %1 is a number,it works perfectly.
When %1 is a string,it goes wrong.
[string "Trigger: "]:1: bad argument #2 to `SetVariable' (string expected, got nil)
stack traceback:
[C]: in function `SetVariable'
[string "Trigger: "]:1: in main chunk