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.

!command <var>

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
a
aap
Voice
Posts: 13
Joined: Sun Jun 18, 2006 8:21 pm

!command <var>

Post by aap »

Well... I just can't find it :S And I don't know wich terms I have to use on google for this:

I want to make this:

!command x


so that !command binds a proc. ( I know how to do that)
and that x stores in variable x

Any help is welcome :)

thx
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Your request (it IS a request btw) makes no sense, you need to elaborate more on what you want.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

There are plenty of public commands scripts in the Tcl Archive, just search for an appropriate one.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
a
aap
Voice
Posts: 13
Joined: Sun Jun 18, 2006 8:21 pm

Post by aap »

thanks....

Am I right this way:

Code: Select all

bind pub - !command hi

proc hi {nick uhand channel host arg} {

blabla...

}
I type => !command var

So that "var" stores in "arg" ?
User avatar
krimson
Halfop
Posts: 86
Joined: Wed Apr 19, 2006 8:12 am

Post by krimson »

"arg" holds everything you type after !command
a
aap
Voice
Posts: 13
Joined: Sun Jun 18, 2006 8:21 pm

Post by aap »

so yes :)

Thanks a lot
Post Reply