|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Completed This is where Completed quests are. |
06-20-2013, 11:27 AM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,595
|
|
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);
}
}
|
06-20-2013, 12:19 PM
|
Hill Giant
|
|
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
|
|
#we #color #text
in game can do the same thing
or alternatively for scripts, using quest::we(#color,"Text");
or quest::ze(#color,"Text"); (for zone only).
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
|
06-20-2013, 12:21 PM
|
Hill Giant
|
|
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
|
|
Quote:
0 - white
1 - gray
2 - dark green
3 - gray
4 - light blue
5 - light purple
6 - grey
7 - white
8 - grey
9 - grey
10 - white
11 - grey
12 - light silver
13 - red
14 - light green
15 - yellow
16 - dark blue
17 - grey
18 - cyan
257 - darkish purple
258 - lighter cyan
259 - green, light
260 - ooc green, slightly lighter
261 - ooc green, slightly lighter
263 - blue, emote/spell
264 - blue emote, filters under spells
269 - yellow, filters under broadcast
270 - blue, filters under broadcast
271 - white, filters under spells
272 - white, filters under broadcast
300 - odd blue color
315 maroon
|
pulled from wiki for the color #s
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
|
06-20-2013, 12:29 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,595
|
|
I know all of this, I just thought it was a pretty handy script, can't a man post a script in peace?
|
06-20-2013, 12:42 PM
|
Hill Giant
|
|
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
|
|
just seemed a bit wordy :P
Post away
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
|
06-20-2013, 12:45 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,595
|
|
Not everyone in the community quite understands the ins and outs of coding, thus why I posted this, some may not know all the commands but may know the basics of adding a script, but not modifying it, or nothing at all thus why I explained what it did, how you could use it, how you could modify it and how you could use /broadcast rather than this script. Just trying to simplify things for people, I know I hate getting something and having no idea what it's for, haha.
|
06-19-2015, 06:48 AM
|
Sarnak
|
|
Join Date: Feb 2012
Location: GA
Posts: 34
|
|
Oops - necro'd for no good reason. Found answer.
|
06-19-2015, 09:38 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,595
|
|
What was your question? It may help someone else.
|
06-19-2015, 10:13 PM
|
Dragon
|
|
Join Date: Apr 2009
Location: California
Posts: 814
|
|
|
06-19-2015, 10:55 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,595
|
|
Exactly, haha, thank you.
|
06-20-2015, 09:15 AM
|
|
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
Quote:
Originally Posted by Shendare
|
Good one Shendare.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 07:32 AM.
|
|
|
|
|
|
|
|
|
|
|
|
|