todhiro19 Posted November 24, 2015 Posted November 24, 2015 (edited) hi all rathena im looking for auto broadcast npc every 10 minutes..im using rathena server with pre renewal. hope you help me. thanks in advance Edited November 24, 2015 by todhiro19 Quote
0 todhiro19 Posted November 25, 2015 Author Posted November 25, 2015 thanks you all guys ima test it now - script autoannounce -1,{ OnInit: while(1) { announce "Welcome To rAthena! Enjoy Your Stay Here!",bc_all; sleep 630000; announce "If you found any BUG, please report it immediately to any of the GM-Team",bc_all; sleep 66000; announce "REMEMBER: No GM has the right to ask a player of any of his/her account information, so please, NEVER let anyone deceive you.",bc_all; sleep 690000; } } Trying this one but nothing happen.. no npc added ill put it in npc/custom.. but yea nothing happen how can i fix it? Quote
1 Chaos92 Posted December 9, 2015 Posted December 9, 2015 is it like this ? - script Fact Announcer -1,{ end; OnMinute02: OnMinute12: OnMinute22: OnMinute32: OnMinute42: OnMinute52: switch(rand(1,2)) { case 1: announce "Welcome to Reunite RO-Reborn! Dont forget to like our Facebook Page 'Reunite Ragnarok Online Malaysia!",bc_all,0xFFFF00; end; case 2: announce "Our main town for vending is at Morroc.You can go there instantly by use commands @go 1.",bc_all,0xFFFF00; end; } end; } Quote
1 PandaLovesHamster Posted November 24, 2015 Posted November 24, 2015 OnInit: freeloop(1); while(1){ announce "bla bla bla",0; sleep2 600000; } freeloop(0); end; Please have a try. Not sure if it would work. Quote
1 Lord Ganja Posted November 24, 2015 Posted November 24, 2015 - script autoannounce -1,{ OnInit: while(1) { announce "Welcome To rAthena! Enjoy Your Stay Here!",bc_all; sleep 630000; announce "If you found any BUG, please report it immediately to any of the GM-Team",bc_all; sleep 66000; announce "REMEMBER: No GM has the right to ask a player of any of his/her account information, so please, NEVER let anyone deceive you.",bc_all; sleep 690000; } } Quote
1 Elsa Mist Posted November 25, 2015 Posted November 25, 2015 - script Sample -1,{ OnInit: set .Time,300; setarray .News$[0], "Your Message here.", "Your Message here.", "Your Message here."; // Add more if you like. remember, at the last message you must put ';'! while( 1 ) { announce .News$[ rand( getarraysize( .News$ ) ) ], bc_all, 0xDA70D6; sleep ( .Time * 3000 ); } end; } Quote
0 4n0biz Posted November 24, 2015 Posted November 24, 2015 - script Auto_Announce -1,{ OnMinute19: OnMinute18: OnMinute28: OnMinute38: OnMinute48: OnMinute58: setarray $@auto_ann$[0], "talk1", "talk2"; set $@i, rand(0,1); announce $@auto_ann$[$@i],bc_all; end; } Quote
0 Lord Ganja Posted November 25, 2015 Posted November 25, 2015 thanks you all guys ima test it now - script autoannounce -1,{ OnInit: while(1) { announce "Welcome To rAthena! Enjoy Your Stay Here!",bc_all; sleep 630000; announce "If you found any BUG, please report it immediately to any of the GM-Team",bc_all; sleep 66000; announce "REMEMBER: No GM has the right to ask a player of any of his/her account information, so please, NEVER let anyone deceive you.",bc_all; sleep 690000; } } Trying this one but nothing happen.. no npc added ill put it in npc/custom.. but yea nothing happen how can i fix it? Sorry my bad. I thought it was auto announcement npc. LOL Try this one posted here LINK Quote
0 todhiro19 Posted November 25, 2015 Author Posted November 25, 2015 thanks you all guys ima test it now - script autoannounce -1,{ OnInit: while(1) { announce "Welcome To rAthena! Enjoy Your Stay Here!",bc_all; sleep 630000; announce "If you found any BUG, please report it immediately to any of the GM-Team",bc_all; sleep 66000; announce "REMEMBER: No GM has the right to ask a player of any of his/her account information, so please, NEVER let anyone deceive you.",bc_all; sleep 690000; } } Trying this one but nothing happen.. no npc added ill put it in npc/custom.. but yea nothing happen how can i fix it? Sorry my bad. I thought it was auto announcement npc. LOL Try this one posted here LINK yoo sir your correct i was looking for auto broadcaster but ur code not effect?? Quote
0 Lord Ganja Posted November 25, 2015 Posted November 25, 2015 yoo sir your correct i was looking for auto broadcaster but ur code not effect?? Sorry. My code isn't actually a broadcaster. It was an auto-announcer npc. Try that link I posted above Quote
0 todhiro19 Posted November 26, 2015 Author Posted November 26, 2015 - script Sample -1,{ OnInit: set .Time,300; setarray .News$[0], "Your Message here.", "Your Message here.", "Your Message here."; // Add more if you like. remember, at the last message you must put ';'! while( 1 ) { announce .News$[ rand( getarraysize( .News$ ) ) ], bc_all, 0xDA70D6; sleep ( .Time * 3000 ); } end; } thanks i try this one Quote
Question
todhiro19
hi all rathena im looking for auto broadcast npc every 10 minutes..im using rathena server with pre renewal. hope you help me. thanks in advance
Edited by todhiro1911 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.