| View previous topic :: View next topic |
| Author |
Message |
l8night Voice
Joined: 17 Dec 2007 Posts: 12
|
Posted: Sat Dec 22, 2007 12:58 am Post subject: how to grab text from a channl and put it into list or var |
|
|
Hi,
Can someone tell me how to grab text from a channel and throw into a variable or a list? Say a command outputs " there are 5 left"
and I use the pubm event to know when that happens, how do i then grab that output and put it into variable.
Regards Jeff |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Dec 22, 2007 7:55 am Post subject: |
|
|
| Quote: | PUBM (stackable)
bind pubm <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel> <text>
Description: just like MSGM, except it's triggered by things said
on a channel instead of things /msg'd to the bot. The mask is
matched against the channel name followed by the text and can
contain wildcards. If the proc returns 1, Eggdrop will not log
the message that triggered this bind. PUBM binds are processed
before PUB binds. If the exclusive-binds setting is enabled,
PUB binds will not be trigged by text that a PUBM bind has
already handled. |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|