pff, I just lol'd when i saw that this guy has posted this snippet here. He came to me last night and asked me to write such a snippet for him. Then he f*cked it and posted it here.
This is the original snippet: http://pastebin.com/GyKcR9Tq
I used "$nick ison $chan" because i had /timer in there, (To not flood the guy off the server) so it might that the person weren't in the channel anymore and it would give error....
I'm not saying that i've written this flawlessly... It might have errors, or not working properly. Honestly, i didn't even test it, i just wrote it quickly to give the guy an idea.
Also, about checking "if ($2 isnum 1-) { ...}", it used to be a /command, that's why i just wanted to make sure that the number is positive (Just like jaytea said.). And after that the guy asked me to add a popup for it either.
Another note: I used "$len($$?="Enter length")" because he said that he want to write ???? (one question mark per character) which is really dumb.. i told him to just write a number but he wanted it like this.. lol
@Sharky_Dude: Yeah, nothing can be perfect. Always there are something that are missing in an application/addon. And of course you can adjust the bot and adding more features in it and use it..
@ManicWaldo: I've used channel's idle for devoicer because the matter is channel. If someone talks in private message he/she still has no activity on channel and our goal is channel's activity. I'll see what i can do about your request and hope to implement it if possible. Thank you for your opinion.
Thank you both for using mBOT.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.