busterdemon Posted June 6, 2012 Posted June 6, 2012 My request is a script that would automaticaly global broadcast a message in yelow every hour! Thanks! Quote
Euphy Posted June 6, 2012 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
busterdemon Posted June 6, 2012 Author 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
Euphy Posted June 6, 2012 Posted June 6, 2012 "OnMinuteXX" triggers the script every hour at minute XX. You can change that to whatever you want (00-59). Quote
busterdemon Posted June 6, 2012 Author Posted June 6, 2012 Can't it go up to 60? 59 is the max? Quote
Euphy Posted June 6, 2012 Posted June 6, 2012 It's like a clock. 00 is the start and end of every hour. o; Quote
busterdemon Posted June 6, 2012 Author Posted June 6, 2012 Ahh now I understand, thank you sir ! Quote
Question
busterdemon
My request is a script that would automaticaly global broadcast a message in yelow every hour!
Thanks!
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.