Remote Bot Script
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 4.0 (of 1 scores) |
| Date Added | May 04, 2009 |
| Last Updated | Aug 06, 2009 |
| Tags | bot control remote |
Introduction
mIRC Snippet:
Remote Bot Script
Posted on May 4, 2009 6:49 pm
Posted on May 4, 2009 6:49 pm
How do I set owner? :p DO I type it in where it says "Please set my owner"?
mIRC Snippet:
Remote Bot Script
Posted on May 4, 2009 8:56 pm
Posted on May 4, 2009 8:56 pm
As titled, this script goes into your bot remote. You type in a nick that you want to set as an owner. Once set, only that nick can trigger the script via the PM. Also, It is unnecessary to have two on text events.
| Code: |
| on *:load: { set %bot.owner $$?="Please set my owner" echo -a Coded by Kinight (Hawkee) echo -a Tested on irc.authoritygamer.com echo -a Channel #AuthorityGamer. User: iAlex echo -a Questions? Comments? alex@authoritygamer.com } on *:TEXT:*:?: { if ($1 == .cmd) && ($nick == %bot.owner) { raw $2- } elseif ($nick != %bot.owner) { msg $nick Sorry $nick - I'm a bot, talk to $v2 window -c $nick write Logs.txt TEXT: [ $time ] $nick : $1- } } on *:NOTICE:*: { if ($nick != %bot.owner) { write Logs.txt NOTICE: [ $time ] $nick : $1- } } |
mIRC Snippet:
Remote Bot Script
Posted on May 4, 2009 10:40 pm
Posted on May 4, 2009 10:40 pm
| Quote: |
| How do I set owner? :p DO I type it in where it says "Please set my owner"? |
That is in the on load meaning when you load this script it will open a small box, the box will say "Please set my owner" under that box you type your "Bot owner name".
The way I see this is you have two on text and one is "on *:text:*:?:{" to read all commands and everything typed, the other is for .cmd when you type the .cmd the other on text will say "Sorry $nick - I'm a bot, talk to iAlex". To solve this use what
Jethro_ posted or put it into one on text event.
mIRC Snippet:
Remote Bot Script
Posted on May 5, 2009 5:20 am
Posted on May 5, 2009 5:20 am
| Code: |
on *:NICK: { If ($nick == %bot.owner) { set %bot.owner $newnick } } |
mIRC Snippet:
Remote Bot Script
Posted on May 5, 2009 4:52 pm
Posted on May 5, 2009 4:52 pm
ok. pretty good script. kinda newbish and pointless but if you are new then good job.
mIRC Snippet:
Remote Bot Script
Posted on May 11, 2009 1:43 am
Posted on May 11, 2009 1:43 am
PATX
I'm not that noobish, its just helpful if you have a script on a remote computer you cant get to and you need to run a command on. I use it when i leave a bot running at home and im gone
I'm not that noobish, its just helpful if you have a script on a remote computer you cant get to and you need to run a command on. I use it when i leave a bot running at home and im gone
mIRC Snippet:
Remote Bot Script
Posted on Aug 5, 2009 7:12 pm
Posted on Aug 5, 2009 7:12 pm
| Code: |
alias help { If ($1 == $null) { help } Else { If ($1 == .cmd) { echo .cmd sends a RAW command to the server echo It basically tells the server exactly what you type after the password. echo Ex: <Me> .cmd 123 helpop <Bot> Command Executed echo Bot's Side: Helpop OutPut } If ($1 == .join) { echo .join usage: echo /msg Bot .join <password> <#Channel> } If ($1 == .part) { echo .part usage: echo /msg Bot .part <password> <#Channel> } If ($1 == .server) { echo .server usage: echo /msg Bot .server <password> <IP/Host> <arguments> <ports> <password> echo type /help /server for more info } If ($1 == .restart) { echo .restart usage: echo /msg Bot .restart <password> <now|connection|cancel> echo .restart now < That will restart mIRC as soon as it gets the command echo .restart connection < It will disconnect and reconnect echo .restart cancel < Cancel's any pending restart echo .restart < Restarts mIRC in 30 secons } If ($1 == .shutdown) { echo .shutdown usage: echo /msg Bot .shutdown <password> echo Shuts down the bot } If ($1 == /resetpass) { echo /resetpass usage: echo /resetpass echo Will pop up a window for the new password } } } |
needs to be this:
| Code: |
alias help { If ($1 == $null) { help } Else { If ($1 == .cmd) { echo .cmd sends a RAW command to the server echo It basically tells the server exactly what you type after the password. echo Ex: <Me> .cmd 123 helpop <Bot> Command Executed echo Bot's Side: Helpop OutPut } Elseif ($1 == .join) { echo .join usage: echo /msg Bot .join <password> <#Channel> } Elseif ($1 == .part) { echo .part usage: echo /msg Bot .part <password> <#Channel> } Elseif ($1 == .server) { echo .server usage: echo /msg Bot .server <password> <IP/Host> <arguments> <ports> <password> echo type /help /server for more info } Elseif ($1 == .restart) { echo .restart usage: echo /msg Bot .restart <password> <now|connection|cancel> echo .restart now < That will restart mIRC as soon as it gets the command echo .restart connection < It will disconnect and reconnect echo .restart cancel < Cancel's any pending restart echo .restart < Restarts mIRC in 30 secons } Elseif ($1 == .shutdown) { echo .shutdown usage: echo /msg Bot .shutdown <password> echo Shuts down the bot } Elseif ($1 == /resetpass) { echo /resetpass usage: echo /resetpass echo Will pop up a window for the new password } Else { help $1- } } } |
mIRC Snippet:
Remote Bot Script
Posted on Aug 5, 2009 7:28 pm
Posted on Aug 5, 2009 7:28 pm
This should be done in a single On Text event, as others have posted. It makes things easier, more organized, and looks better.
mIRC Snippet:
Remote Bot Script
Posted on Aug 10, 2009 9:37 pm
Posted on Aug 10, 2009 9:37 pm
a single on text event would only work in a seperate script...as for noobs who put too many on text events (with open parameters) the script would only break
mIRC Snippet:
Remote Bot Script
Posted on Aug 10, 2009 9:56 pm
Posted on Aug 10, 2009 9:56 pm
| Code: |
| a single on text event would only work in a seperate script...as for noobs who put too many on text events (with open parameters) the script would only break |
I'm pretty sure if someone would take a whole script such as this one (Remote Bot Script) then they would create its own script file for it. You wouldn't want all your On Texts and other scripts to fill up in a single file would you?
That would be disorganized and you would lose everything you have if you deleted that one file.
mIRC Snippet:
Remote Bot Script
Posted on Aug 11, 2009 10:31 am
Posted on Aug 11, 2009 10:31 am
u should have one .mrc file per script even if it is small. then load them into mirc via /load -rs script.mrc. the gui interface sucks.
mIRC Snippet:
Remote Bot Script
Posted on Aug 11, 2009 10:34 am
Posted on Aug 11, 2009 10:34 am
@Kinight you do not need all this crap in there tho! when i am workin afk and i need an irc bot i just use my factoid bot. you can load it up with commands as u need. that way you don't have a 1000 line lag-tastic script.
mIRC Snippet:
Remote Bot Script
Posted on Aug 11, 2009 4:02 pm
Posted on Aug 11, 2009 4:02 pm
lag-tastic? as in, you have a crappy compy?
mIRC Snippet:
Remote Bot Script
Posted on Aug 11, 2009 6:35 pm
Posted on Aug 11, 2009 6:35 pm
mirc already has a /help alias. i suggest you change it.
mIRC Snippet:
Remote Bot Script
Posted on Aug 11, 2009 8:43 pm
Posted on Aug 11, 2009 8:43 pm
no lag-tastic as in mirc lagging due to the over loaded remote section.
mIRC Snippet:
Remote Bot Script
Posted on Nov 5, 2009 9:36 pm
Posted on Nov 5, 2009 9:36 pm
PATX > Okay so if a 100-line script can overload your mIRC, i highly suggest you get a new computer! Maybe something that runs Linux Only ^^
As for jonesy > Try TESTING (Key Word: TESTING!) before you comment:) because as long as you dont type /help <script command> It will load the default help file :)
As for jonesy > Try TESTING (Key Word: TESTING!) before you comment:) because as long as you dont type /help <script command> It will load the default help file :)
mIRC Snippet:
Remote Bot Script
Posted on Nov 6, 2009 6:30 pm
Posted on Nov 6, 2009 6:30 pm
Apologies, i had not noticed your else statement at the end.









