-- Allows running Eluna lua from ingame chat and from server console
-- This command is intended for development purposes
-- Example usage:
-- .eluna pp(GetLuaEngine(), "Code ran by:", plr and plr:GetName() or "console")
-- pp is defined to be a function to send a message to everyone on server and to console for easy printing
-- plr is the player using the command or nil if command from console
-- sel is the selection of plr or nil if nothing selected
-- errors in the lua code executed are printed to command invoker only (console or player), they are not logged
-- errors in timed events made with the code and such delayed actions are reported by normal means to the error logs and console if so defined in Eluna settings.