Hello
I'm a completely newbie in Lua, and i woud appreciate if someone could sumbit a code to make an alias for this:
[cast] {"haste", "sanctuary", "evil protection"}
where the spells should be into a table, i guess
The idea is when i execute the alias, automatically cast haste, then cast sanctuary, then cast 'evil protection'.
Note the simply quotes in 'evil protection.
Another example of what i'm lookin for :
[cast antifire] {"boots", "cap", "gloves"}
-------------------------------------
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
thank you so much for your answers!!!
I'm a completely newbie in Lua, and i woud appreciate if someone could sumbit a code to make an alias for this:
[cast] {"haste", "sanctuary", "evil protection"}
where the spells should be into a table, i guess
The idea is when i execute the alias, automatically cast haste, then cast sanctuary, then cast 'evil protection'.
Note the simply quotes in 'evil protection.
Another example of what i'm lookin for :
[cast antifire] {"boots", "cap", "gloves"}
-------------------------------------
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
thank you so much for your answers!!!