/**
|** Description:
|** Team Fortress Classic has quad damage, invisibility to
|** sentry guns, and godmode all as powerups you can get from
|** map entities. This plugin makes them available on command.
|** You can give any number of seconds, or a default of ~27 hours
|** worth of any powerup. You can also expire anyone's powerup(s).
|**
|** Background:
|** I had no commands on my server to give more than the what
|** NeoTF allowed (maximum of 30 seconds) worth of these powerups.
|** That wasn't good enough. I want to give more as needed.
|** Especially on skill/fun maps. This plugin makes that happen.
|**
|** Internally:
|** This creates an info_tfgoal entity with appropriate keyvals
|** at a player's location so they can get the affects,
|** spawning the entity, thinking it, forcing the target to
|** fake-touch it, and then flagging it to be killed/removed.
|**
|** VERY Special Thanks To: "XxAvalanchexX" ( See am44768 )
|**
|** Idea: Control fun powerups that last the player's lifetime!
|**
|** Usage(s):
|** amx_quad <name or #userid> [seconds] - give quad damage for seconds else lifelong
|** amx_invul <name or #userid> [seconds] - give invulnerability for seconds else lifelong
|** amx_invis <name or #userid> [seconds] - give SG invisibility for seconds else lifelong
|** amx_powerups <name or #userid> [seconds] - give quad,invis,invul for seconds else lifelong
|** ---removal commands--- (add "rem" after "amx_")
|** ---NOTE: These are exactly the same as giving a powerup for only 1 second!
|** amx_remquad <name or #userid> - remove a player's quad damage
|** amx_reminvul <name or #userid> - remove a player's invulnerability
|** amx_reminvis <name or #userid> - remove a player's SG invisibility
|** amx_rempowerups <name or #userid> - remove a player's quad,invis,invul
|**
|** Module Required: "engine" for entity manipulation stuff.
|**
|** Changelog:
|** 2007-01-01 @ v1.4 - precache sounds used by NeoTF.
|** ...see issue at
http://forums.planetneotf.net/phpBB2/viewtopic.php?t=98
|** 2006-12-22 @ v1.3 - fixed typo where remove commands failed
|** 2006-12-05 @ v1.2 - cleaned code again. Thanks Hawk.
|** 2006-11-25 @ v1.1 - sizeof directives added for safety
|** 2006-11-25 @ v1.0 - added optional number of seconds, as Ramono suggested.
|** also cleaned up code, simplifying some things.
|** 2006-09-27 @ v0.91 - added "amx_rem*" commands to remove powerups.
|** Thank you to SpannerSpammer of NeoTF!
|** 2006-09-22 @ v0.9 - fixed typo in print_chat announce
|** 2006-09-22 @ v0.8 - major simplification of code via an enum, conditionals
|** 2006-09-22 @ v0.7 - fixes, optimizations, etc.
|** 2006-09-21 @ v0.6 - days of work pay off! the beast is alive!
*\*
**\
**/