Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ,
- beforeChatMessage: function(src, message, chan) {
- channel = chan;
- if ((chan == 0 && message.length > 250 && sys.auth(src) < 1)
- || (message.length > 650 && sys.auth(src) < 2)) {
- normalbot.sendChanMessage(src, "Hi! Your message is too long, please make it shorter :3")
- sys.stopEvent();
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement