Jump to content
  • 0

requesting for auto broadcast npc in every 10 minutes


Question

Posted (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 :D

Edited by todhiro19

11 answers to this question

Recommended Posts

  • 0
Posted

thanks you all guys ima test it now :D


-	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?

  • 1
Posted

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;
}
  • 1
Posted


- 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;

}

}

  • 1
Posted


- 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; }

  • 0
Posted


- 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;

}

  • 0
Posted

thanks you all guys ima test it now :D

-	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

  • 0
Posted

 

thanks you all guys ima test it now :D

-	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??

  • 0
Posted
-	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 :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...