Plugin::Whisper()
Here is simple plugin I made that can be used similar to quest::say(), but instead of saying the message, this will send the message directly to the player only. You can set the color in this plugin to whatever color you would like your whispers to be on your server.
Using this plugin will message the player in this format: Code:
Soandso whispers, 'Only you can hear this!' Note: This plugin requires that you have at least the "val()" plugin from the post here: http://www.eqemulator.net/forums/sho...hlight=plugins If you do not yet have that plugin, you can get it from the PEQ Quest SVN here: http://projecteqquests.googlecode.co...quests/plugins The particular plugin file there is named "globals.pl". Make sure you download that and save it to your server /plugins/ folder. Here are the steps to add this plugin to your server: 1. Open notepad, or whatever text editor you prefer. 2. Copy and paste the following code into Notepad: Code:
#Usage: plugin::Whisper("Message"); 4. Do a #questreload and the new plugin should be ready for use :D One nice thing about this plugin is that you can use find/replace to convert an entire script from quest::say messages to plugin::whisper messages in a matter of seconds. Also, if you use silent saylinks regularly, you might want to uncomment the following line to make it easier to read the NPC text: Code:
#$client->Message($TextColor, "-"); #Spacer between Text messages to make them easier to read |
This plugin was added to the repository, I had made a small modification that adds a space before the client message that I do believe you had mentioned you added yourself a while back I am not sure.
Code:
#Usage: plugin::ClientSay("Message"); ###Whisper Modification |
All times are GMT -4. The time now is 08:26 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.