L.C. Server Help Squatter

Age:34 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: Mon Sep 04, 2006 8:03 pm Post subject: MERVbot Plugin Request |
 |
|
|
|
EDIT :: Bot plugin request has been met and accomplished by Cubs. Thanks! =D
Quick-Intro and Blueprint
I would like a [straight-to-the-point] plugin for my zone, SS Jackpot SVS, where it would only allow the player with the most points in the arena to use the Lancaster (Ship 7).
PlayerA has 1,000,000 points.
PlayerB has 500,000 points.
PlayerC has 450,000 points.
PlayerD has 1,000,300 points.
If PlayerA, B and C are present in the arena and D is not, A can freely use the Lancaster (Ship 7). If B tries to use Ship 7, the bot will *setship him to the ship he was just using and private message him: You are unable to use the Nightwasp (7) because you do not have the most points compared to other players in this arena.
If PlayerA goes into spectator mode, the player with the second-most points is able to use the Lancaster (Ship 7, or Nightwasp in my zone). In this case, PlayerB can use Ship 7 now.
Let's say PlayerA is playing again, and in Ship 7. PlayerD enters the arena as a spectator. Nothing happens.
Instead, let's say PlayerD enters the arena as a ship (any ship but 7). PlayerA will be placed into spectator mode and the bot will private message him: You are now incapable of piloting the Nightwasp. PlayerD has ended your reign of having the most points in the arena.
Now PlayerD is using Ship 7. PlayerB (or C, doesn't matter) wins an awesome jackpot of 2,500,000 points; this player now is the one with the most points in the arena. PlayerD will be placed into spectator mode and private messaged: You are now incapable of piloting the Nightwasp. PlayerB/C has ended your reign of having the most points in the arena. If PlayerD was not using Ship 7, he would recieve no private message or notification. It would be a silent transition of MVP status.
The actions of the player being put into spectator mode when a specified event occurs is the default action. This action will only be used if the player entered the zone in Ship 7; or if the player entered the zone in spectator mode and then straight to Ship 7. Otherwise, the action that will be taken is a *setship on the player to the last ship he was using. The current and previous ship is monitored.
This plugin needs no commands, and is automatically enabled if loaded with the bot. The source code to the compiled plugin would be very pleasing too.
What do I get in return?
Now there's a very important question of where the credits will go to: if you'd like, I can put a note for you in the Introduction at http://www6.hlrse.net/ or give you the Beginners plan at [http://www.hlrse.net/plans/index.php] for free (I'll probably do both, there's almost no way I would ever leave a name behind).
Last edited by L.C. on Sat Sep 09, 2006 5:00 pm, edited 1 time in total |
|