i need help with a script.
using http://www.planetarion.com and the chanserv bot P
in order to be op in a channel u have to be logged into him .
however more recently this bot keeps d/cing
so i have setup a channel op bot
what i need is a script..
that when P is in the channel . my bot has chanset -autoop
and when P leaves/quits the channel
it does chanset +autoop
# Set P's hostmask here.
set p_host "P!*@*"
# Set the channels you want this script to work on here.
set p_channels "#channel1 #channel2"
# code starts here #
bind join - $p_host p_join
bind part - $p_host p_part
proc p_join {nick uhost hand chan} {
channel set $chan -autoop
}
proc p_part {nick uhost hand chan} {
channel set $chan +autoop
}
# Set P's hostmask here.
set p_host "P!*@*"
# Set the channels you want this script to work on here.
set p_channels "#channel1 #channel2"
# code starts here #
bind join - $p_host p_join
bind part - $p_host p_part
proc p_join {nick uhost hand chan} {
channel set $chan -autoop
}
proc p_part {nick uhost hand chan} {
channel set $chan +autoop
}