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 keyword for a script

Old posts that have not been replied to for several years.
Locked
L
LiquidZoo
Voice
Posts: 12
Joined: Thu Nov 11, 2004 12:59 am

Help with a keyword for a script

Post by LiquidZoo »

I have a script written that automatically executes on !command by itself in a channel. I would really like for it to parse through anything said in the channel for a keyword, but I can't figure out how to do this. Is there an easy way to take it from:

!command

- response

to

some words then command then something else

- response

?

Any help would be greatly appreciated.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

bind pubm - "% *command*" yourproc
L
LiquidZoo
Voice
Posts: 12
Joined: Thu Nov 11, 2004 12:59 am

Post by LiquidZoo »

Sorry for the late reply

Thank you. That worked perfectly
Locked