Edwin_r said:
Nick Gammon said:
Read up on Lua tables. Here's an example:
<aliases>
<alias
match="test"
enabled="y"
send_to="12"
sequence="100"
>
<send>
wanted = {"haste", "sanctuary", "evil protection"}
for k, v in ipairs (wanted) do
Send ("cast ", v)
end -- for
</send>
</alias>
</aliases>
------------------------
Thank YOU!!! Nick.
The other code i need it's one to antifire objects by the number of these. E.g:
(7) sanctuary potion
i would like to type: antif sanctuary 7
and the "alias" antif (cast antifire) should cast antifire to the 7 potions of sanctuary: 1.sanctuary, then 2.sanctuary... up to 7th potion
I'll trouble you no more, promess