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.

bind notice instead of bind pub

Help for those learning Tcl or writing their own scripts.
Post Reply
w
whittinghamj
Op
Posts: 103
Joined: Sun May 21, 2006 4:50 pm

bind notice instead of bind pub

Post by whittinghamj »

how can i conver this please

bind pub -|- !command proc

into

bind notice -|- !command proc

so the bot reads the notice instead of a channel line.

cheers
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

the correct bind:
bind notc -|- !command proc

however, the procedure arguments need to be changed
where pub is
procname { nick user@host handle channel text }

notice is:
procname { nick user@hos> handle text dest }
Post Reply