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.

request tcl

Help for those learning Tcl or writing their own scripts.
Post Reply
d
demetrius_reis
Halfop
Posts: 42
Joined: Tue Aug 10, 2010 9:54 am

request tcl

Post by demetrius_reis »

I am trying to locate various SRT that work as follows. Enter any nickname that has variable "xxx" in the nick, so you can stay with the channel.
Is there any sense in tcl?

tks
a
adamast0r
Voice
Posts: 5
Joined: Wed Apr 20, 2011 8:35 pm

Post by adamast0r »

i don´t know what you want but..

Code: Select all

bind join - * join

proc join { n u h c t } {
set lastjoin $n
putlog "last join by $lastjoin"
}
is this?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Join procedure expects 4 arguments, not 5:
JOIN (stackable)
bind join <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel>
and don't use 1 letter variables as it's annoying to debug code like that.

@demetrius_reis : could you elaborate a bit by giving some examples on what you want to do?
Once the game is over, the king and the pawn go back in the same box.
d
demetrius_reis
Halfop
Posts: 42
Joined: Tue Aug 10, 2010 9:54 am

Post by demetrius_reis »

tks !!!
Post Reply