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.

Help with a bit of code (privmsg on join to a room)

Help for those learning Tcl or writing their own scripts.
Post Reply
c
chadrt
Voice
Posts: 33
Joined: Sun Mar 19, 2006 4:37 pm

Help with a bit of code (privmsg on join to a room)

Post by chadrt »

I know how to do a priv message when the bot joins the network but I am having trouble as I am very new and I dont know the commands, to make the bot send a privmsg after successfully connecting to a room.

I believe I need a:

Code: Select all

putquick "PRIVMSG ChanServ :opme"
But I dont know how to bind it to after the bot gets in the room because if it happens before its in the room it fails I tried that.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

.chanset #channel need-op putserv "privmsg #channel :opme"
c
chadrt
Voice
Posts: 33
Joined: Sun Mar 19, 2006 4:37 pm

Post by chadrt »

Ok that was retarded of me, I should have been using that function all along. The only draw back I see with it so far is it takes forever before it actually sends the message to ChanServ on Join or ReJoin from Kick, that process takes sometimes as long as two minutes. When I am using a script to gain ops back after a kick it is instantly accomplished. Is there a way to speed up the process of gaining ops on entry or reentry from a kick?
Post Reply