Myst3K wrote:I just got my bot up and running, and was playing around with it in a room with a couple of people. I have a Nickserv TCL script, and an AutoVoice TCL script loaded on it. When the bot is OP, the autovoice script works, but when it is only HalfOp it doesnt work. The autovoice script is supposed to voice everyone that comes in the room. Is it possible with only being HalfOp?
Code: Select all
isop $botnick
Code: Select all
isop
Code: Select all
!isop
Code: Select all
{![isop $botnick $c
Code: Select all
{![ishalfop $botnick $c
Code: Select all
{![isop $botnick $c] && ![ishalfop $botnick $c]} { return 0 }
{[isop $botnick $c] || [ishalfop $botnick $c]} {
pushmode $c +o $nick
}
Bot cant give ops if it only has halfops but your script is cool if you just want it for auto voicing (+v) peopleawyeah wrote:You might want to use, this as it will not work for ops then, only halfops heh:
Not sure how the script works, but something like this should make it work for both ops and halfops.Code: Select all
{![isop $botnick $c] && ![ishalfop $botnick $c]} { return 0 } {[isop $botnick $c] || [ishalfop $botnick $c]} { pushmode $c +o $nick }
Obviously you can't give someone higher access than you. Its like logic someone with lower access cannot give higher access to someone else.Bot cant give ops if it only has halfops but your script is cool if you just want it for auto voicing (+v) people