[SSGM 4.0 Plugin] Better PPAGE Console Command [message #469924] |
Tue, 26 June 2012 10:52 |
iRANian
Messages: 4308 Registered: April 2011
Karma:
|
General (4 Stars) |
|
|
This plugin will replace the PPAGE console command with a custom version that'll show a coloured message and play a sound to players running scripts 2.9.2 or higher, or a WOL page if the player is on WOL and not running scripts that support that, otherwise it will do the same old stuff. This is a similar to the custom MSG console command plugin I wrote, although this one doesn't use a hack to remove the 'Host:' crap at the start of Host messages.
You can contact me under the nick 'iRANian' on renegadeforums.com.
To install place 'BetterPPAGEConsoleCommand.dll' inside the root FDS folder and add an entry for it under the [Plugins] section of ssgm.ini, then at the bottom of SSGM.ini add and configure:
[BetterPPAGEConsoleCommand]
PrependText = (Page from DPRKserv): ; the string gets prepended with a white space, e.g. "%s %s", PrependString, Message
SoundFile = m00avis_kiov0037i1gcp1_snd.wav ; an optional WAV file to play when a message appears, keep this empty to not play a sound
RedColour, = 122 ; The red value of the RGB colour to display the message in
GreenColour = 122 ; Green value...
BlueColour = 122 ; I wonder what this is for?
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
[Updated on: Sun, 01 July 2012 07:08] Report message to a moderator
|
|
|