mIRC Home    About    Download    Register    News    Help

Print Thread
#136695 01/12/05 07:13 PM
Joined: Mar 2004
Posts: 10
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Mar 2004
Posts: 10
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

#136696 01/12/05 08:09 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Use the ON CONNECT event

/help ON CONNECT

#136697 01/12/05 08:27 PM
Joined: Mar 2004
Posts: 10
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Mar 2004
Posts: 10
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. ...

#136698 03/12/05 02:22 AM
Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
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.

#136699 03/12/05 05:08 PM
Joined: Mar 2004
Posts: 10
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Mar 2004
Posts: 10
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


Link Copied to Clipboard