Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(params[0].tolower() == "!exe")
- {
- //if(!IRC_isProtect(EchoChan, user)) return IRC_notice(RandomBot(), user, ">> Error: you do not have the level for this command.");
- if(params.len() < 2) return IRC_say(RandomBot(), channel, "3Usage: !exe <params>");
- local script = compilestring(message.slice(params[0].len() + 1));
- try
- {
- script();
- }
- catch(E)
- {
- IRC_say(botid, channel,"4>> Error: " + E);
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement