View Full Version : Guild Message via Perl
Chrono
02-20-2012, 04:03 AM
I was working on a script that involved sending a particular guild who triggered the event an emote only (across all zones), anything think of a way that this could work?
$guildmessage = $entity_list->Message(1, 14, "emotehere");
This one does work, but it's only across the zone. I was really hoping to get it across all zones.
Chrono
02-16-2013, 05:02 PM
Still after a way to get this to work!
liquest
02-16-2013, 05:07 PM
Are you trying to get this so it sends the message within the guild chat?
Zaela_S
02-16-2013, 05:17 PM
Should be easy to do with an interface to WorldServer::SendEmoteMessage()
I can't find a Perl function that does that, but I wouldn't know. I'm sure there must be one.
Chrono
02-16-2013, 05:19 PM
More of an emote message, only if you are in a certain guild that activated the task.
So if player 1 activates a task in East Commons, the emote would be "The earth shakes and a huge hill giant appears"
But I would like to broadcast that emote to every single guild member, regardless of what zone they are in.
I've been thinking of ways of doing it but haven't had any luck yet.
Chrono
02-16-2013, 09:58 PM
I'm assuming the latest commit tried to get this working, thanks for trying Derision :P
Derision
02-17-2013, 06:27 AM
This feature is now in (we moved to github over the last few hours, so go here: https://github.com/EQEmu/Server/commits/master for the latest source).
The syntax is:
quest::gmsay(<messsage>, [color], [toworld], [guildid], [minstatus])
So to send a yellow message to the guild of the player:
quest::gmsay("The earth shakes and a huge hill giant appears", 15, 1, $client->GuildID(), 0);
Parameter 2, 15 = yellow
Parameter 3, 1 = send to all zones
Parameter 5, 0 = required admin status to receive the message
Chrono
02-17-2013, 09:08 AM
Works great, thank you!
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.