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.
Old posts that have not been replied to for several years.
x
xces
Post
by xces » Thu Jan 30, 2003 7:21 am
Heya, i read that the CTCP command is not stackable, but i am having problems with using the ctcp:flooder (in the tcl archive section)
Bind raw is not working for some reason...
Are there any ways to accept multiple ctcps?
I want somethink like this:
/ctcp [bot] [cmd] [parm1] [parm2]
So first i have to check for [cmd], and then process the [cmd] with the [parms]
Any tips / sample scripts?
stdragon
Owner
Posts: 959 Joined: Sun Sep 23, 2001 8:00 pm
Contact:
Post
by stdragon » Thu Jan 30, 2003 2:45 pm
Make one proc to bind to the cmd thing, then in that proc, you have to process the subcommand yourself. Basically, get the subcmd using split/lindex, then do something like
Code: Select all
if {$subcmd == "cmd1"} {
blah blah
} elseif {$subcmd == "cmd2"} {
blah blah
}
I think that's what your'e asking anyway..