This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

IRCop script?

Old posts that have not been replied to for several years.
Locked
m
matt2kjones
Voice
Posts: 24
Joined: Fri Feb 07, 2003 11:16 am

IRCop script?

Post by matt2kjones »

I have tried to write a script so that the bot will execute this command when it comes into the room:

/oper username password

then everytime it doesn't have OP:

/opmode #channel +o botname

is there any scripts out there that will do this???

or any who can help me to make one

thanx
http://www.thedigitaldream.co.uk
irc.thedigitaldream.co.uk #thedigitaldream
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

i think you mean this

Code: Select all

bind evnt - init-server oper:connect

proc oper:connect {type} {
  putserv "oper operlogin operpass"
}

bind join - * chan:join

proc chan:join {nick uhost hand chan} {
  if {$chan == "yourchan"} {
    pushmode $chan +o $botnick 
  }
}
XplaiN but think of me as stupid
Locked