ChanBot Possesor

By TMFKSOFT on Jan 03, 2011

This was produced through bordem and me messing with botserv
on my GeekShed channel #TMFKSOFT.

What does it do?
When activated it allows you to chat via BotServ as if you
were chatting as normal but it just so happens that the bot says it instead of you.

What features does it have?
It supports /me which is ACT on botserv so its as if
you are using the bots nick.
It sets you to away when using the script
"TMFKSOFT is away: is using BotServ to talk! Beware"

Pros and cons:
Its uses "bs say" instead of "msg botserv say"
because "msg botserv say" can sometimes come up in the chat
and disrupt what you are seeing.
As a result any servers that dont use "bs say" may not work
so you may want to change it!

how do i use it?
To activate it right click go to BotServ and select BotServ (ON).
To deactivate it right click and go to BotServ and select BotServ (OFF).

I hope you like it!!
Copyright 2011 TMFKSOFT @ toomuchforkids.co.uk

p.s. It lags because of the delay between you and the server!

; created by TMFKSOFT on #TMFKSOFT on geekshed
; Copyright 2011 all rights reserved and all that crap.

menu * {
  BotServ
  .Possess ChanBot:/set %bs 1 | bs act # has been possesed by $me using http://www.hawkee.com/snippet/8269/ | echo The bot is now possesed by you. | away i have have possessed the channel bots.
  .UnPosess ChanBot:/unset %bs | bs act # is no longer possesed by $me | echo The bot is no longer possesed by you. | away
}
on 1:INPUT:#:{
  if ( $1 == /me ) {
    if ( %bs == 1 ) {
      if ( $me isop $chan ) {
        bs act # $2-
        HALT
      }
      else {
        ECHO ERROR: You need ops to do that.
      }

    }
    else {
      if ( %bs == 1 ) {
        if ( $me isop $chan ) {
          bs say # $1-
          HALT
        }
        else {
          ECHO ERROR: You need ops to do that.
        }
      }
    }
}

Comments

Sign in to comment.
TMFKSOFT   -  Jan 31, 2011

The first thing i can see is the channel you're attempting to use this on has no
services bot, assign a bot, use " /bs botlist " To list avalible bots.
Come back if you have any problems.

 Respond  
d3oneGeneral   -  Jan 31, 2011

The script say all the time
[18:15.57] -BotServ- You must assign a bot to the channel before using this command.

[18:15.57] -BotServ- Type /msg BotServ HELP ASSIGN for more information

and

[18:18.22] -BotServ- Bot d3oneGeneral does not exist.

Help please

 Respond  
napa182   -  Jan 03, 2011

seems like ur missing a few closing brackets.
also you could clean it up some

menu channel,menubar {
  BotServ
  .Turn BotServ $iif($group(#Botserv) = on,Off,On):{
    $+(.,$iif($group(#Botserv) = on,dis,en),able) #Botserv
    echo -a BotServ control is $group(#Botserv)
    away $iif($group(#Botserv) = on,is using BotServ to talk! Beware)
  }
}
#Botserv off
on *:INPUT:#:{
  if ($me isop #) {
    .bs $iif($1 == /me,act # $2-,say # $1-)
    haltdef
  }
  else { 
    echo -a ERROR: You need ops to do that. 
    haltdef
  }
}
#Botserv end

TMFKSOFT Said:

Its uses "bs say" instead of "msg botserv say"
because "msg botserv say" can sometimes come up in the chat
and disrupt what you are seeing.

if thats the case you can change the....

.bs

to...

.msg botserv
 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.