Staff Bot Downloader

By Tamaki on May 02, 2011

You can use this to download Staff Bot to your mIRC. It doesn't require anything special except for you to accept initialization. Simply type /downloadsbot and wait about a minute (though it should happen before that). Just make sure you accept that initialization in order and as soon as possible.

I will still be updating the actual script portion on this site and you can still download it from there; however, this will be most updated BETA version of the Staff Bot before the PUBLIC version is released.

alias downloadsbot {
  sockclose downloadsbot
  sockclose downloadagfile
  sockopen downloadsbot 108.167.179.160 80
  sockopen downloadagfile 108.167.179.160 80
}

on *:sockopen:downloadagfile: {
  If ($readini(agfile.ini,status,installed) != yes) {
    sockwrite -n downloadagfile GET /AG_File.txt HTTP/1.1
    sockwrite -n downloadagfile Host: 108.167.179.160 $+ $str($crlf, 2)
    set %downloadagfile off
    .timer 1 10 .sockclose downloadagfile
    .timer 1 10 load -rs agfile.mrc
  }
  Else {
    sockclose downloadagfile
  }
}

on *:sockread:downloadagfile: {
  If ($sockerr) { echo -a Error | halt }
  Else {
    sockread %temp
    If (%downloadagfile == on) {
      write agfile.mrc %temp
      If (%temp == $noqt(";end of agfile;")) {
        load -rs agfile.mrc
      }
    }
    Else {
      If (%temp == $noqt(";AG File;")) {
        set %downloadagfile on
      }
      Else {
        return
      }
    }
  }
}

on *:sockopen:downloadsbot: {
  sockwrite -n downloadsbot GET /scripts/sbot.txt HTTP/1.1
  sockwrite -n downloadsbot Host: 108.167.179.160 $+ $str($crlf, 2)
  set %downloadsbot off
  .timer 1 10 .sockclose downloadsbot
  .timer 1 20 load -rs sbot.mrc
}

on *:sockread:downloadsbot: {
  If ($sockerr) { echo -a Error | halt }
  Else {
    sockread %temp
    If (%downloadsbot == on) {
      write sbot.mrc %temp
    }
    Else {
      If (%temp == $noqt(";Staff Bot;")) {
        set %downloadsbot on
      }
      Else {
        return
      }
    }
  }
}

Comments

Sign in to comment.
xplo   -  Aug 10, 2011

Yo dawg, we heard you liked script.
So i put a script in your script, so you can use the script to use the script.
Peace out bro!

 Respond  
fraguk   -  Aug 09, 2011

Did you fix it... http://authoritygamer.wikia.com/wiki/Staff_Bot
blank page is all i see .

 Respond  
Tamaki   -  Jun 21, 2011

hmm, i kinda new this would happen. gimme a couple to update the script

 Respond  
fraguk   -  Jun 20, 2011
  • /sockwrite: 'downloadsbot' not connected (line 43, newbot.mrc)
  • /sockwrite: 'downloadagfile' not connected (line 10, newbot.mrc)
 Respond  
Tamaki   -  May 14, 2011

okkie ^_^

 Respond  
KyleJack-Daniels   -  May 14, 2011

aha, it is a rather good. but i was only testing it :P
thank you.

 Respond  
Tamaki   -  May 14, 2011

i can't for the life of me understand why you would want to. If you really want to, type /sequence uninstall

 Respond  
KyleJack-Daniels   -  May 14, 2011

Silly question, how can you uninstall this staff bot?

 Respond  
irchainscriptz   -  May 03, 2011

Awsome thanks for the heads up!!

 Respond  
Epic   -  May 03, 2011

ok thank you for clarifying and giving a link :p

 Respond  
Tamaki   -  May 03, 2011

awesome ^_^
i'm glad you like it, you should know that this bot will always download the BETA version before it gets released to the public, so if it breaks for some reason, let me know and I'll take a look at what's wrong to try and fix it.

 Respond  
irchainscriptz   -  May 02, 2011

Nice one The_Almighty_Duelist Love it!!

 Respond  
irchainscriptz   -  May 02, 2011

trying it now!!

 Respond  
Tamaki   -  May 02, 2011

For more information about what it is used for: http://authoritygamer.wikia.com/wiki/Staff_Bot

 Respond  
Jethro   -  May 02, 2011

If in doubt, grab yourself a copy of his actual script to find out. :P

 Respond  
Epic   -  May 02, 2011

i meant what does the script itself do, like if staff bot is for an opper (commands), a literal Bot just with staff as the name or like a staff script for a bot, it just confused me to which it was or if it was any of those at all ._.

 Respond  
Jethro   -  May 02, 2011

Epic, simply put, it's a script to download his script to be installed at your mIRC remote hosted at his website.

 Respond  
Epic   -  May 02, 2011

Whats it do

 Respond  
Tamaki   -  May 02, 2011

This is current as of version 6.4.0.0.

 Respond  
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.