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.
Help for those learning Tcl or writing their own scripts.
demetrius_reis
Halfop
Posts: 42 Joined: Tue Aug 10, 2010 9:54 am
Post
by demetrius_reis » Sun Apr 03, 2011 3:25 pm
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
adamast0r
Voice
Posts: 5 Joined: Wed Apr 20, 2011 8:35 pm
Post
by adamast0r » Thu Apr 21, 2011 9:29 am
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?
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Apr 21, 2011 11:28 am
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.