Submitted as Native for SourceMod 1.3.7 and SourceMod 1.4
This plugin basically ends here, because Pawn is not capable of the additional content I wanted to add.
---------------------
Description
Simple plugin to check duel information.
Notes
--
Design Notes
Only a single command at this stage (request more if you want them). This plugin exists, in part, to prevent "but how do I use it" questions. However, its primary use is to enable admins to do some basic checking before forcing a teamswitch.
This plugin was pushed out in a bit of a rush during the Halloween update, so it has less in it than I'd like. However, some of the other stuff I'm looking at is far more complex (the server doesn't even appear to store some of it!), so it may take some time before 'scores' within duels become visible.
Installation
Place the smx file in the 'plugins' directory (or compile the sp, and put the output of the complication process in 'plugins').
Place 'duel.tf2.txt' in your 'gamedata' directory.
Commands- sm_checkduel
- Use: Checks Duel Status
- Format: sm_checkduel <target>
- Example #1: sm_checkduel @all
- Example #2: sm_checkduel swix
Cvars
sm_tf_duelinfo - Version Cvar
Change log
0.0.1 (3 Nov 2010) - Initial Release.