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