bayley
2004-01-11 05:30:45 UTC
Hi,
Im working on a script, to spew URL's in a channel at a designated time.
For the sake seeing the errors in the status screen, i set the timer to 10
second intervals. This is what I have got.
on 777:TEXT:!advert:#Links:{
timer1 0 10
:begin
set %linkcont $read(url.txt)
if ( %linkcont == %lnkctnt ) { goto begin }
else msg # %lnkcont
set %lnkctnt %lnkcont
notice $nick URL spew has been activated.
halt
}
The errors I receive are:
/timer: timer 1 not active
-
/msg: insufficient parameters (line6, script.ini)
Im stumped... any help would be appriciated.
:bayley:
http://chat.7jocars.com
Im working on a script, to spew URL's in a channel at a designated time.
For the sake seeing the errors in the status screen, i set the timer to 10
second intervals. This is what I have got.
on 777:TEXT:!advert:#Links:{
timer1 0 10
:begin
set %linkcont $read(url.txt)
if ( %linkcont == %lnkctnt ) { goto begin }
else msg # %lnkcont
set %lnkctnt %lnkcont
notice $nick URL spew has been activated.
halt
}
The errors I receive are:
/timer: timer 1 not active
-
/msg: insufficient parameters (line6, script.ini)
Im stumped... any help would be appriciated.
:bayley:
http://chat.7jocars.com