Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- /print command
- ]]
- do
- local function PrintCommand(command)
- local func, err = loadstring("return " .. command .. ";");
- if (func == nil) then
- error(err);
- else
- print(func());
- end
- end
- tinsert(_G.Command.Slash.Register("print"), { PrintCommand, "Rowdy", "print command" });
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement