mIRC Home    About    Download    Register    News    Help

Print Thread
#59446 08/11/03 02:03 AM
Joined: Nov 2003
Posts: 1
T
trizks Offline OP
Mostly harmless
OP Offline
Mostly harmless
T
Joined: Nov 2003
Posts: 1
I am working on a script that uses timers to say messages about one of our sponsors, and I want there to be around 5-6 different ads, how do I make it to where they all are said every 30 minutes, but at random.

for example like, if there are 6 different messages in the script file, how do I make it to where the script randomly selects one every 30 minutes, without saying all 6, and without repeating one until all 6 have been said

thanks

Last edited by trizks; 08/11/03 02:04 AM.
#59447 08/11/03 03:28 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
This will randome read a line from a text every 30 minutes
just make sure when you make the Ads.txt each ad is a one liner.




/timerads 0 30 /ads

alias ads { msg #YOURCHAN $read $mircdir\ads.txt }





Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#59448 08/11/03 08:41 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Oh goodie. yet another spammer.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#59449 09/11/03 09:55 AM
Joined: Sep 2003
Posts: 98
N
Babel fish
Offline
Babel fish
N
Joined: Sep 2003
Posts: 98
this will spam every 30 seconds


www.stwar.us.to
IRCnet - #stwar
#59450 09/11/03 12:47 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Spam a channel with a timer will get you banned from that channel.. and maybe even get you banned from a server.. so dont spam on irc, irc is made for chat, not as somones private advertice place... i would ban you after the first spam if you was in anyone of my channels..


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard