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.

opped eggie seeing network user connections

Old posts that have not been replied to for several years.
Locked
User avatar
droolin
Halfop
Posts: 64
Joined: Thu Jul 24, 2003 9:07 pm
Contact:

opped eggie seeing network user connections

Post by droolin »

Hi, Im new to scripting but i understand for any tcl script to function. That an event that has been binded must be envoked. What I am trying to do is have an eggdrop monitor the connections that occur accross a network. I have tried the following binded events to capture this information: ctcp, ctcr, notc, msg, and msgm. I have totally wildcarded the binds so that any of the events will execute the procedure. Examples:
bind notc - "*" Check_Notice
bind msgm - "*" Check_Message
bind msg - "*" Check_Private_Message
bind ctcp - * Check_Ctcp
bind ctcr - "*" Check_Ctcr
In the procedures, I am just issuing a message to the channel at this point to let me know that the bot has reconized the event. The bot reacts to global server notices, service's(nickserv) notices, private notices/messages. I am running the eggdrop with flags -nt, so that I can observ what ever the bot should be seeing. So, I know that the Notice(appears in text line) of a user connection is being seen by the bot.
Ok, my guese/question is this. Would this type of event be an action???
If not, what type of event would I bind too? The bot has a global ircop setting with the proper modes set to see all network wide connections.
Thank you for any help that can be offered. I know im missing something easy here, but I do not know what. Also, the ircd that this bot is running on is Unreal.

droolin
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

try:

Code: Select all

bind raw - NOTICE blah
User avatar
droolin
Halfop
Posts: 64
Joined: Thu Jul 24, 2003 9:07 pm
Contact:

thank you

Post by droolin »

I seen the bind event of raw and that you could use either text word or numerics. I could not find a irc numeric for that specific raw, and thats why I didnt think it was correct.
Again, thank you.

droolin
Locked