View Single Post
  #1  
Old 06-20-2013, 11:27 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default Announcement Script

This script is pretty handy, you can use /broadcast or implement this script on an NPC and announce things to the entire server in a Green text, you could use this to announce events or just to notify people of something in a rather eye-popping text, rather than a bland yellow. It is rather simple, it utilizes quest::gmsay to send a message server wide, script below.

P.S. It is currently for GMs only, but you can just take out the status check if you want everyone to use it.

Code:
sub EVENT_SAY
{
	if($status >= 200)
	{
		quest::gmsay("$name Announces: $text", 14, 1, 0, 0);
	}
}
Reply With Quote