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.

Search found 2 matches

by Mr B
Sat Oct 06, 2007 1:56 pm
Forum: Scripting Help
Topic: Passing on a variable outside a proc
Replies: 3
Views: 2309

Ok it took me a bit cause I made some mistakes at first but I finally saw the light
passing on using the global command works now :)

Thanks for pushing me in the right direction nml375 and for the explantion on the second problem, that also works like a charm now
by Mr B
Sat Oct 06, 2007 12:16 am
Forum: Scripting Help
Topic: Passing on a variable outside a proc
Replies: 3
Views: 2309

Passing on a variable outside a proc

I just started learning tcl and came across a couple things I just couldn't find any answers to. Here goes: bind pub - !test lineread proc lineread {nick host handle chan text} { global prech homech if {$chan == $homech} { putserv "PRIVMSG $prech :$text" } My first question is, is it possi...