Just some feed back. It works perfectly
Okay now I would really like some help. I don't want to make another forum thread so I hope you don't mind me putting it here.
Basically we have an issue with people using scripts and binding shoot to their mouse wheel. The only way we have managed to get around that is through a PB ucon session and sending the pb_sv_bindsrch command. Not I was wondering if there is a possibility that you could help me create a plugin to automate this?
I unfortunately have no real coding knowledge. I can understand what is happening in the code for this plugin but not how to re-write it.
How it could work if you are interested in helping me is:
Read pb log files (same as this plugin)
Find line matching: [<date> <time>] [From #<pb slot number> <4 digit guid>(VALID) <player name>] [<key bound to> = <command bound>][<key bound to> = <command bound>][<number of matches> key binding matches found]
It would then do a check of the <command bound> against a database of regular expressions in the config (Similar to the censor plugin)
If a match is found it warns/kicks/bans the player according to the config (Similar to the censor plugin)
Would also be nice to have an option to tell the player what key the illegal command is bound to in the warning.
I am prepared to make a $20 donation to b3 in your name if you can help me out with this
I am sure there will also be a lot of grateful users