Plugin::MM() usage
Just curious about this possiblity. I've been playing around with that plugin and
having fun with it, but I was wondering, is it possible to use this plugin to feed all world clients , similiar to quest::we(..) Where everyone on the server gets it at the same time, when event is triggered ? |
Quote:
|
I didn't think so, but I figured it wouldn't hurt to ask. But Thank You Sir !
|
Completely untested (including simply running a perl -c on the code), as I'm away from home atm:
Code:
# /quests/global/global_player.pl |
World-wide Marquees? Yes, please. Once this is merged they'll be possible using quest::worldwidemarquee(type, priority, fadein, fadeout, duration, message).
Example script: Code:
sub EVENT_SAY { |
Quote:
Thank you :) |
Some seriously cool stuff King!
Celestial |
Merged as of ~5 minutes ago.
|
Quote:
Just gitpulled, anxious to play around :) Thanks a lot Kingly :) |
This little test works awesome, but had one tiny little question (grin)
Is it possible to change that grey color output ? ( I do have the color codes) Code:
sub EVENT_ITEM { |
Yeah, type indicates color. substr isn't necessary for what you're doing because that's for cutting a string apart based on indexes. You can use just "This is a Test. Is it working?" instead of substr("This is a Test. Is it working?", 0).
|
Ahh, ok, thanks for that tip. My original thoughts on using this marquee was along the
lines of my little test example there. Although the quest::we is good for world emotes, I figured sometimes, if a serverwide message goes out and a player's chat window is busy with hits, misses, etc., the world emote may not be seen. But this marquee can definately show up noticed, (chuckle) But it's got a lot of potential for other things, (like above) letting the server know when a player has achieved something on the high end, or for that matter "Newbie $name has finally got out of the Tutorial" (chuckle) |
All times are GMT -4. The time now is 11:11 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.