egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

request tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
demetrius_reis
Halfop


Joined: 10 Aug 2010
Posts: 42

PostPosted: Sun Apr 03, 2011 3:25 pm    Post subject: request tcl Reply with quote

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
Back to top
View user's profile Send private message
adamast0r
Voice


Joined: 20 Apr 2011
Posts: 5

PostPosted: Thu Apr 21, 2011 9:29 am    Post subject: Reply with quote

i donīt know what you want but..

Code:
bind join - * join

proc join { n u h c t } {
set lastjoin $n
putlog "last join by $lastjoin"
}


is this?
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Thu Apr 21, 2011 11:28 am    Post subject: Reply with quote

Join procedure expects 4 arguments, not 5:
Quote:

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.
Back to top
View user's profile Send private message
demetrius_reis
Halfop


Joined: 10 Aug 2010
Posts: 42

PostPosted: Fri Sep 21, 2012 10:56 pm    Post subject: Reply with quote

tks !!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber