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.

pubm bind question

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:

pubm bind question

Post by droolin »

I am building a security script, that is looking for specific things said in a monitor channel by regular services. Currently I have mutiple pubm binds set up as follows:

Code: Select all

bind    pubm    -       *ON*           Check_Connection_Nick
bind    pubm    -       *NICK*        Check_Nick_Change
bind    pubm    -       *Version*      Check_User_Version
This is working with some if statements built into the procedure to further the defination of the verbage that I am looking for. But, if I could do it. I would like to define the complete verbage I am looking for within the bind statement. Including the white spaces.
Ex of what I really am checking against.
SIGNED ON user:

Is this possible??? Either by using a regular expresion? Or by using Regular expression errrr, special switches errrr \w... something like that???

What I have coded now already works, so this basicatly a question of can I do it this way also?

Thank you in advance for any help.

droolin
Imagination is more important than knowledge. Albert Einstein 1879-1955
User avatar
droolin
Halfop
Posts: 64
Joined: Thu Jul 24, 2003 9:07 pm
Contact:

can I add to this question please

Post by droolin »

One thing that I really do want to ask about though, is executing other procedures out of a binded procedure. This script is being written to suppliment various security services running on an IRC network to try and catch as manny of the various bot, trojen clients as possible. I want to modularize this as much as possible due to the fact that I know that this script will be constantly updated. So, Im going to be looking at alot of code soon, and if I can structure it so that any changes occur due to something new I am looking for. I can basicatly test individual procedures that are new, and not a procedure that has 200 lines of code in it.

droolin
p.s. Im sorry about the mutiple questions, Im just getting my teeth into this script now... And, im trying to do it right the first time.
Imagination is more important than knowledge. Albert Einstein 1879-1955
Locked