Auth command // Remote access to bot
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 (of 0 scores) |
| Date Added | Dec 18, 2008 |
| Last Updated | Feb 11, 2009 |
| Tags | access auth bot remote |
Introduction
NOTE: The !auth command only works in query.
v1.1: I have added an auto-message on auth and !bye to a channel of your choice. I have also added some extra commands. These are just examples of what you could do with this auth system and what I want you to look at is just the auth systems core. Which is just the !auth command and the !bye command.
v1.2: Removed the $read(kickreason.txt) from all scripts where its used. Now you can write your own reason instead. Example: !kick fr00b Kicked for being a total fr00b. Remember to change #yourCHANNEL to your own channel. If you don't have a channel, or don't want the bot to msg the channel when you auth, use !bye, !kick or !ban, just remove the msg #yourCHANNEL lines from the script.
mIRC Snippet:
Auth command // Remote access to bot
Posted on Feb 10, 2009 3:05 pm
Posted on Feb 10, 2009 3:05 pm
#chris?
Also,
You can use the -k switch in /ban, so you can use:
Keep in mind not everyone has kickreason.txt
Also,
| Code: |
| ban $chan $2 1 kick # $2 $read(kickreason.txt) |
You can use the -k switch in /ban, so you can use:
| Code: |
| /ban -k $2 1 $read(kickreason.txt) |
Keep in mind not everyone has kickreason.txt
mIRC Snippet:
Auth command // Remote access to bot
Posted on Feb 10, 2009 6:21 pm
Posted on Feb 10, 2009 6:21 pm
in this case i dont think u need the elseif in your first event.it can just b else.
mIRC Snippet:
Auth command // Remote access to bot
Posted on Feb 11, 2009 7:39 am
Posted on Feb 11, 2009 7:39 am
@Kirby: Yes, people can just change the chan :). Yeah, I know about -k. I just don't really like it. I prefer two commands. But thats like if people prefer to use # or $chan :P, except # is a little shorter. And yeah, I didn't really think about that, the kickreason.txt file. I'll change it :).
@PunkTuReD: Oh yeah, I see what you mean, lol. Changing it now.
@PunkTuReD: Oh yeah, I see what you mean, lol. Changing it now.






