I am looking to create a custom in-game command to pass parameters to a Lua script. For example, I'd type in-game the following:
/passparameters <caster> <spell_name> <target>
And from there, a Lua script would grab the parameter <caster>, <spell_name> and <target> so I can do with them whatever I want.
How would one go about creating the custom command and collect them in the background?
/passparameters <caster> <spell_name> <target>
And from there, a Lua script would grab the parameter <caster>, <spell_name> and <target> so I can do with them whatever I want.
How would one go about creating the custom command and collect them in the background?

