Uh I got a auto broadcast npc script but when I reloaded the script and restart the server (added to script_custom) nothing happens.. can someone help me edit it or tell me what's wrong? Do I need src edits and stuff?
- script News -1,{
OnInit:
set .Time,180; // Announce every x Seconds.
setarray .News$[0], // Random Message to be Announced
"Respect all the players of the server especially the GMs.",
"Please report all bugs that you find immediately by using @request.",
"Do not impersonate any player or GMs on the server.",
"Reminder: GM's don't edit their characters(they don't have commands).",
"Please Speak in English in the Maintown or suffer the consequences.",
"Remember: Your Account and Items is your responsibility.",
"Welcome to your RO!!",
"Whoever counquers the Opened Castles will get 30 Mithril Coins Per Guild",
"No More Salary to the Losing Guilds, You now Support your own Guild",
while(1)
{
announce .News$[ rand( getarraysize( .News$ ) ) ],0;
sleep ( .Time * 1000 );
}
end;
}
Question
Pink Guy
Uh I got a auto broadcast npc script but when I reloaded the script and restart the server (added to script_custom) nothing happens.. can someone help me edit it or tell me what's wrong? Do I need src edits and stuff?
Link to comment
Share on other sites
12 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.