I writing a plugin that makes real aliases like in sh.
So you can run aliases by / not bye ;
For example: /sh_alias rnd /roll = /rnd.
I have some questions:
I want to save settings in an dictionary that i load as settings.
I want to save the aliases with the folling syntax settings.commands.alias for
the name of the alias and settings.commands.<alias_name>.target for the command the will executed if alias is called.
Is it possible to save code that will exuted in target like:
/sh_alias looking_for im looking for 2 captains, 2 burgler
It is possible to get how many elements settings.commands has in lua?