Emistry Posted July 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted July 29, 2012 View File Random News This Script will auto Announce / Broadcast a Messages randomly every interval of times. Configuration : Delay to announce: OnTimer60000: // announce every 60 seconds. Announcement List: OnInit: // Random Message to be Announced setarray .news_list$, "Updated News 1 every X Minute", "Updated News 2 every X Minute", "Updated News 3 every X Minute", "Updated News 4 every X Minute", "Updated News 5 every X Minute", "Updated News 6 every X Minute", "Updated News 7 every X Minute"; Submitter Emistry Submitted 07/29/2012 Category Utilities Video Content Author Emistry 3 Quote Link to comment Share on other sites More sharing options...
cadz Posted September 20, 2012 Group: Members Topic Count: 83 Topics Per Day: 0.02 Content Count: 243 Reputation: 1 Joined: 08/29/12 Last Seen: August 1, 2021 Share Posted September 20, 2012 hi again =) is this random news is only 1 news or can make multiple news? Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Author Share Posted September 20, 2012 multiple.... Quote Link to comment Share on other sites More sharing options...
Altimage Posted December 15, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 96 Reputation: 1 Joined: 03/07/12 Last Seen: January 19, 2023 Share Posted December 15, 2012 seting color? Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 16, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Author Share Posted December 16, 2012 seting color? refer Announce#Color Quote Link to comment Share on other sites More sharing options...
Start_ Posted April 15, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 950 Reputation: 180 Joined: 04/05/13 Last Seen: 20 hours ago Share Posted April 15, 2013 Thanks for script. It's working! Quote Link to comment Share on other sites More sharing options...
xavii93 Posted September 5, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 9 Reputation: 1 Joined: 09/01/13 Last Seen: September 17, 2013 Share Posted September 5, 2013 how it works? Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 5, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Author Share Posted September 5, 2013 how it works? just load the script..and every short interval it will randomly pick a message and broadcast to everyone. Quote Link to comment Share on other sites More sharing options...
rmon008 Posted October 18, 2013 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 80 Reputation: 1 Joined: 09/13/13 Last Seen: June 30, 2014 Share Posted October 18, 2013 sleep ( .Time * 900000 ); what is that for ? Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 18, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Author Share Posted October 18, 2013 sleep ( .Time * 900000 ); what is that for ? refer sleep Quote Link to comment Share on other sites More sharing options...
rmon008 Posted October 18, 2013 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 80 Reputation: 1 Joined: 09/13/13 Last Seen: June 30, 2014 Share Posted October 18, 2013 sleep ( .Time * 900000 ); what is that for ? refer sleep so it means if i set set .Time,2; // Announce every x Minute. it the 2 minutes will multiply by 900sec after the first announce ? Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 18, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Author Share Posted October 18, 2013 sleep ( .Time * 60000 ); it should be this... announce every "x" minute. not multiply. Quote Link to comment Share on other sites More sharing options...
rmon008 Posted October 18, 2013 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 80 Reputation: 1 Joined: 09/13/13 Last Seen: June 30, 2014 Share Posted October 18, 2013 - script News -1,{ OnInit: set .Time,2; // Announce every x Minute. setarray .News$[0], // Random Message to be Announced "News : Server has been changed from 3rd job renewal to Trans only Pre-Renewal Setting.", "News : Please remove all your Unknown item( Apple ). Giving you 2days to delete the apple's or else your account will be deleted.", "News : Please check the server info for the changes in rates and info's of OurOwn. ", "News : Please Report Any Bugs Immediately."; while( 1 ){ announce .News$[ rand( getarraysize( .News$ ) ) ],0; sleep ( .Time * 900000 ); } end; } that is the code i want to announce it every 2 minutes but its not announcing , that's why im curious about this sleep ( .Time * 900000 ); Quote Link to comment Share on other sites More sharing options...
Osus Posted December 4, 2019 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 12/03/19 Last Seen: December 23, 2019 Share Posted December 4, 2019 On 7/29/2012 at 8:02 PM, Emistry said: File Name: Random News File Submitter: Emistry File Submitted: 29 Jul 2012 File Category: Utilities Content Author: Emistry This Script will auto Announce / Broadcast a Messages randomly every interval of times. Configuration : set .Time,60; // Announce every x Minute. setarray .News$[0], // Random Message to be Announced "Updated News 1 every X Minute", "Updated News 2 every X Minute", "Updated News 3 every X Minute", "Updated News 4 every X Minute", "Updated News 5 every X Minute", "Updated News 6 every X Minute", "Updated News 7 every X Minute"; https://rathena.org/board/index.php?/files/file/2503-%7B?%7D/ Visit Emistry Topic for more Scripts... how to make this every 5 minutes? Quote Link to comment Share on other sites More sharing options...
Mael Posted December 4, 2019 Group: Forum Moderator Topic Count: 25 Topics Per Day: 0.01 Content Count: 837 Reputation: 321 Joined: 02/11/19 Last Seen: 1 hour ago Share Posted December 4, 2019 5 hours ago, Osus said: how to make this every 5 minutes? set .Time,60; // Announce every x Minute. Just edit this to set .Time,300; // Announce every x Minute. Quote Link to comment Share on other sites More sharing options...
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.