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.

auto op when my bot joins my channel on dalnet

Old posts that have not been replied to for several years.
Locked
p
paradoxx

auto op when my bot joins my channel on dalnet

Post by paradoxx »

i haw a tcl script it identify my bot wen it join dalnet server but i want a scrips dat sets auto op when it join my channel
a scrit dat can do /msg ChanServ@services.dal.net OP #channel nick so when it haw joind the ChanServ giws my bot op
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

do a search for "services" on both the forum and on the Tcl archive.

This has been answered many times, and at least once within the last month.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

hmmm

Post by De Kus »

i dunno if it works on dalnet, but on euircnet the password entered for the server connection (you remember? hostname:port:password !?) will be forwarded to nickserv, so you will be identified before you join any channel.
or simply rewrite a qneed.tcl or use a script for nick- and chanserv. i found one after i wrote my own on this page :D. but i dunno if it has all features my script has :D.

here the binds:
bind need -|- "*" handle:need
bind notc f|- "This nickname is registered and protected" handle:nickneed
bind notc f|- "Password accepted - you are now recognized." handle:nickauthed
bind notc m|- "Permission denied." handle:permneed

cause chanserv and nickserv has user records on my bot i only have to check if handle == nickserv to be sure it was really nickserv who said the thind above. in case of switching nick on linked nicks chanserv tells perm denied until reinditified. the whole thing has some flood protection so the bot wont be killed cause of service flood :D.
and i added another funny thing:

Code: Select all

set init-server {
  putquick "PRIVMSG nickserv :GHOST <nick> <pass>" -next
  putserv "MODE $botnick +Bxic-ws"
}
this really makes sure the bots nick is free :D (usefull because my bot is running on a 24h limited connection ^-^).

ah, stop me, im starting to take to much :D.
Locked