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.

message

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

message

Post by ultralord »

proc pubm:notice {nick host handle chan text} {
global g_maxpl
putserv "notice $chan : Hello $g_maxpl "
}

how i can do this to see the msg in all channel's not one..
t
tsukeh
Voice
Posts: 31
Joined: Thu Jan 20, 2005 6:22 am

Post by tsukeh »

Code: Select all

proc pubm:notice {nick host handle chan text} {
 global g_maxpl
 foreach channel [channels] {
  putserv "notice $channel : Hello $g_maxpl "
 }
}
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

Post by ultralord »

thnx :)
Post Reply