Staff Bot 7 Downloader

By Tamaki on Oct 01, 2015

I've started it back up and I think I'm doing a lot better now with Staff Bot Development. This snippet will allow you to download Staff Bot directly from mIRC. Simply load this into your remotes and type /downloadsbot

(Once you're finished you can unload this particular snippet)

In-case you don't know what Staff Bot does, it's supposed to emulate a services bot with a powerful module engine connected to it. Currently we're in development mode so there will be several changes made daily. To get the most up-to-date version, make sure you click the Auto-Update option during installation.

If you'd like to help with development or have any questions you can find me at: irc.icq.com #staffbot
Or if you install the bot, type /sbot support

alias downloadsbot {
  sockclose checksbot
  set %sbotread off
  sockopen checksbot staffbot.ucoz.com 80
}
on *:sockopen:checksbot: {
  sockwrite -n checksbot GET /sbot7.mrc HTTP/1.1
  sockwrite -n checksbot Host: staffbot.ucoz.com
  sockwrite -n checksbot user-agent: Mozilla/*
  sockwrite -n checksbot Connection: Keep-Alive
  sockwrite -n checksbot $crlf
  .timer 1 10 .sockclose checksbot
}
on *:sockread:checksbot: {
  If ($sockerr) { echo -a Socket error | halt }
  Else {
    :nextread
    sockread %temp
    If (%sbotread != on) {
      If ($noqt(";Current Version") isin %temp) && ($noqt("If") !isin %temp) {
        set %sbotread on
        echo -a Downloading current version... (Always accept initilization if asked!)
      }
    }
    Else {
      If ($noqt(";EOF") isin %temp) && ($noqt("If") !isin %temp) {
        .load -rs sbot7.mrc
      }
      Else {
        write sbot7.mrc %temp
      }
    }
    If ($sockbr == 0) { return }
    Else { goto nextread }
  }
}

Comments

Sign in to comment.
Wikked   -  Oct 04, 2015

I really like your Installer it's a brilliant idea!

Tamaki  -  Oct 04, 2015

thanks :D

dma  -  Oct 05, 2015

what's up wikked - dma

Tamaki  -  Oct 30, 2015

I think I'll be updating AGFile and integrating something like this. What do you all think?

Giati  -  Dec 02, 2015

i cant get this to download i get here http://prntscr.com/99kc15 and choose my option and it wont let me click next

Tamaki  -  Dec 02, 2015

It appears as though you've already downloaded it though because that's the installer that comes with Staff Bot 7. Are you actually clicking on one of those radio options?

clack350  -  Mar 24, 2016

i do /sbot install and i get this error "* /dialog: 'sbot_install' no such table (line 29, sbot7.mrc)"

Tamaki  -  Mar 24, 2016

You'll need to redownload the Staff Bot file. Try this link: http://staffbot.ucoz.com/sbot7.mrc

Buggsy  -  Apr 20, 2016

When installing the bot, it says that there's a missing close bracket in line 219 and stops.

Tamaki  -  Apr 28, 2016

it could be a timeout issue, try downloading the script from the link I gave out earlier and it should still work properly

Sign in to comment

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.