busterdemon Posted June 6, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 93 Reputation: 1 Joined: 06/01/12 Last Seen: July 17, 2013 Share Posted June 6, 2012 My request is a script that would automaticaly global broadcast a message in yelow every hour! Thanks! Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 6, 2012 - <tab> script <tab> HourlyAnnounce <tab> -1,{ OnInit: setarray .Messages$[0],"Welcome!","(type your messages here)","Etc."; end; OnMinute00: announce .Messages$[rand(getarraysize(.Messages$))],0; end; } Quote Link to comment Share on other sites More sharing options...
busterdemon Posted June 6, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 93 Reputation: 1 Joined: 06/01/12 Last Seen: July 17, 2013 Author Share Posted June 6, 2012 - <tab> script <tab> HourlyAnnounce <tab> -1,{ OnInit: setarray .Messages$[0],"Welcome!","(type your messages here)","Etc."; end; OnMinute00: announce .Messages$[rand(getarraysize(.Messages$))],0; end; } Thank you again Euphy! This would broadcast every hour, or do I have to modify a line? Can you tell me wich line makes the script broadcast at every hour, im trying to learn Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 6, 2012 "OnMinuteXX" triggers the script every hour at minute XX. You can change that to whatever you want (00-59). Quote Link to comment Share on other sites More sharing options...
busterdemon Posted June 6, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 93 Reputation: 1 Joined: 06/01/12 Last Seen: July 17, 2013 Author Share Posted June 6, 2012 Can't it go up to 60? 59 is the max? Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 6, 2012 It's like a clock. 00 is the start and end of every hour. o; Quote Link to comment Share on other sites More sharing options...
busterdemon Posted June 6, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 93 Reputation: 1 Joined: 06/01/12 Last Seen: July 17, 2013 Author Share Posted June 6, 2012 Ahh now I understand, thank you sir ! Quote Link to comment Share on other sites More sharing options...
Question
busterdemon
My request is a script that would automaticaly global broadcast a message in yelow every hour!
Thanks!
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.