BlowTorch icon indicating copy to clipboard operation
BlowTorch copied to clipboard

Scripting Question: Passing alias "variable" into LUA script

Open jrsteensen opened this issue 5 years ago • 0 comments

Hello! Trying to do some LUA scripting via aliases. I have an alias "BNK_1" that holds the number "55555". (It's a "variable" alias.)

Then have a new "Deposit" alias:

/x=($1);/y=x / 10;/SendToServer("bank " .. BNK_1 .. " deposit " .. y)

How do I get the alias to act as a variable in the LUA?

jrsteensen avatar Jan 29 '19 18:01 jrsteensen