Discussion:
MIRC Script crappin out...
(too old to reply)
bayley
2004-01-11 05:30:45 UTC
Permalink
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
°¤¦¦Ç£ówñ_Ðèvï£_ß󥦦¤°
2004-01-27 05:29:08 UTC
Permalink
1st that timer does not have a command. ie /timer[N/name] [-ceomhipr] [time]
<repetitions> <interval> <command>
2nd you should check line 6 for spelling. ie Line 4's spelling != Line 6's
spelling
3rd %lnkctnt was never set before using it. How is mIRC suppost to know what
it is?
Post by bayley
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
}
/timer: timer 1 not active
-
/msg: insufficient parameters (line6, script.ini)
Im stumped... any help would be appriciated.
http://chat.7jocars.com
Loading...