mIRC Homepage
Posted By: caspiration Command in status - 01/12/05 07:13 PM
Hi !
To start a news service in the script .. when it connects I have to write in status /news.
I have been trying to get it to do this automatically -- with perform and other attempts but I cannot.
Can anyone please tell me what I have to write to get it to do /news when it connects please =)
thanks in advance
caspi
Posted By: RusselB Re: Command in status - 01/12/05 08:09 PM
Use the ON CONNECT event

/help ON CONNECT
Posted By: caspiration Re: Command in status - 01/12/05 08:27 PM
Thanks I tried that with this:
on 1:CONNECT:/news
but it does not activate the news.
I put /news in perform .. and it doesn't do it from there either.
It is not a room command either I tried
on 1:CONNECT:/msg $chan /news .. but this neither activates the file. ...
Posted By: schaefer31 Re: Command in status - 03/12/05 02:22 AM
Are you sure the script is loaded? Does it work if you manually type /news ? Using ON CONNECT like you mentioned should work fine if the script is in fact loaded.
Posted By: caspiration Re: Command in status - 03/12/05 05:08 PM
yes it is all loaded.
As soon as I type /news in status the bulletin news starts. It updates various news/sport etc online every 30 mins.
but if during the night I get disconnected and the script reconnect.. it does not give the news =(
In fact I have other things that I have set to perform on connect and they all work fine.
I don't know what else to try to be honest.

Thanks anyhow

caspi
© mIRC Discussion Forums