| View previous topic :: View next topic |
| Author |
Message |
isis123 Voice
Joined: 01 Sep 2005 Posts: 13
|
Posted: Thu Sep 08, 2005 5:35 pm Post subject: advertising doesnt work |
|
|
| Code: |
set channel "#jonathan #michiluki"
set time 3
set text {
"hi"
}
if {[string compare [string index $time 0] "!"] == 0} { set timer [string range $time 1 end] } { set timer [expr $time * 60] }
if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }
proc go {} {
global channel time text timer
foreach chan $channel {
foreach line $text { putserv "PRIVMSG $chan :$line" }
}
if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }
}
|
Something is wrong. it only posts the message on the first channel #jonathan. did i miss something?[/code] |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Sep 08, 2005 5:59 pm Post subject: |
|
|
| why do you keep reposting this? it has been answered already |
|
| Back to top |
|
 |
isis123 Voice
Joined: 01 Sep 2005 Posts: 13
|
Posted: Thu Sep 08, 2005 6:24 pm Post subject: |
|
|
| yes you said some loop command was missing that i had in my original script but that wont work neither. whats wrong? pls help |
|
| Back to top |
|
 |
isis123 Voice
Joined: 01 Sep 2005 Posts: 13
|
Posted: Fri Sep 09, 2005 6:58 am Post subject: |
|
|
someone please help me its really urgent  |
|
| Back to top |
|
 |
|