Plugin Info | |
---|---|
Name | MQ2MMOPopup |
Author | htw |
Link | Wiki Link |
Commands | /mmopopup /mpop |
Source Available | Yes |
Uses INI File | Yes |
Contents
Description
MQ2MMOPopup is a plugin that can be used to show a popup text message in game. The INI file is a list of color name to number mappings.
Commands
- /mmopopup text [color] [hold] [transparency] [fadein] [fadeout] Displays the message 'text' in the color [color] on screen for [hold] milliseconds, using [transparency] percent, [fadein] time in milliseconds, [fadeout] time in milliseconds.
- /mpop text [color] [hold] [transparency] [fadein] [fadeout] /mpop is an alias for /mmopopup, they both are the same command
Example Usage
- /mpop "Testing 123" blue 2000 50 250 250 displays "Testing 123" on the screen in blue text, for 2 seconds (2000 milliseconds), 50% transparency, and the fade in/out times are set to 1/4 second (250 milliseconds).
Configuration
If MQ2MMOPopup.ini exists, color names can be used instead of numbers.
Sample Configuration
MQ2MMOPopup.ini
[Colors] DEFAULT=0 GREY=1 GREEN=2 BLUE=4 PURPLE=5 LIGHTGREY=6 WHITE=7 RED=13 LIGHTGREEN=14 YELLOW=15 LIGHTBLUE=16 CYAN=18 BLACK=20
Version History
- 1.00 htw @ 2008-02-12
- Initial release.
- 2.00 htw @ 2009-08-30
- Changed hold to first numeric variable, added INI color entry support.
Availability
This plugin is included with the MMOBugs Compile.