cmdQuit = cls_cmd:create(); function cmdQuit:func(brain, arg) do_quit(brain.plr, '') end cmdQuit:register("quit") log_string("testing")