Made with the intention for holding raffles on TF2 trade servers by admins, this plugin ought to work on any source game (not tested on any but TF2) for whatever general purpose you might have for it.
Simply use the below commands to operate the plugin, and enjoy.
Installation:
- Place smx into plugins folder.
- Add contents of adminmenu_custom_additions.txt to the adminmenu_custom.txt file for an admin menu interface.
Dependencies:
Commands:
- sm_raffle (/raffle): Preform a raffle
- sm_raffle_assign [name] (/raffle_assign [name] [name2] [...]): Add a user to the raffle
- sm_raffle_remove [name] (/raffle_remove [name] [name2] [...]): Remove a user from the raffle
- sm_raffle_cancel (/raffle_cancel): Cancel a raffle
- sm_raffle_list (/raffle_list): Lists all current participants in a raffle
CVars:
Version Log:
- v0.9: Changed from FindTarget to ProcessTargetString
- v0.8: Removed immunity from targeting (and bots)
- v0.7: Added logging to raffles
- v0.6.2: Made sm_raffle_list a public command
- v0.6.1: Bug fixes related to new features in 0.6
- v0.6: Added list, cancel, and remove commands
- v0.5: Added ability to add multiple users at once
- v0.4: First public release