EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Npc Ooc? (https://www.eqemulator.org/forums/showthread.php?t=37098)

Kingly_Krab 07-25-2013 09:59 AM

Npc Ooc?
 
Is there any possibility for allowing NPCs to shout in OOC? Our would you would have to do GMSay of the same color with 'says out of character'? Example of GMSay below.

Code:

sub EVENT_SAY
{
        if($text !~ /Hail/i)
        {
                my $npcname = $npc->GetCleanName();
                quest::gmsay("$npcname says out of character, '$text'", 2, 1, 0, 0);
        }
        else
        {
                plugin::Whisper("Just say anything to me and I'll announce it in 'OOC'!");
        }
}

I just think it'd be really cool to do, just to give them the idea that the NPC is like a normal player and has the ability to shout and do other things as such.


All times are GMT -4. The time now is 12:46 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.