I'm having problem setting a numeric variable with LUA. If I leave out the "'s, it complains that the variable is nil. If I include them, it says it's a string. I need it to be an int-type variable, how can I do this?
Code:
Code:
<alias
match="^pres (?P<amount>.*?) (?P<toxin>.*?)$"
enabled="y"
regexp="y"
send_to="12"
omit_from_output="y"
sequence="100"
>
<send>presToxin = "%<toxin>"
presAmount = "%<amount>"
print("Preserving:", presToxin, " (", presAmount, ")")
world.Send ("prepare toxin ", presToxin)</send>
</alias>