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.

Redesigning The .+chan command

Old posts that have not been replied to for several years.
Locked
S
SuicidalDream

Redesigning The .+chan command

Post by SuicidalDream »

I want to make it so that when someone issues a .+chan a tcl will activate, perform a few commands, then allow the command to continue normally. I think I need to use bind to do this, but I can't figure out what to unbind/bind?

Any and all help is greatly appreciated. I've read help file after help file, and I can't figure it out.

- SD
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

check .binds dcc all
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

dcc:+chan is what you need to unbind and then bind again later
Elen sila lúmenn' omentielvo
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: Redesigning The .+chan command

Post by egghead »

SuicidalDream wrote:I want to make it so that when someone issues a .+chan a tcl will activate, perform a few commands, then allow the command to continue normally. I think I need to use bind to do this, but I can't figure out what to unbind/bind?

Any and all help is greatly appreciated. I've read help file after help file, and I can't figure it out.

- SD

Code: Select all

bind DCC - +chan pluschan

proc pluschan { hand idx text } {

   putlog "$hand triggered .+chan!"

   *dcc:+chan $hand $idx $text

}
S
SuicidalDream

Wow

Post by SuicidalDream »

Wow, now that's what I call service lol

Thanks ppl I'll give it a try :-)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

What service? We all are volunteers.. aren't we? :)
Once the game is over, the king and the pawn go back in the same box.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: Wow

Post by egghead »

SuicidalDream wrote:Wow, now that's what I call service lol
Please press once or twice on the "Donate" button on this site ;)
S
SuicidalDream

Post by SuicidalDream »

*starts to click the donate button then notices his checking account balance is $0.10* :-P Sorry guys just another broke techie here
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

*smokes weed while watching psychedelic signatures*
photon?
Locked