Will that work in cod 4?
Probably not, because I think the command is different, here I used /rcon forceteam. But if you supply me the right command, I can edit the plugin.
Nice move grosbedo, maybe you should give more visibility to your forceteam plugin by opening a new thead and uploading it to the download section
I choosed not to do so because it is really a draft of what it should be. Here the command sent is always /rcon forceteam, but in the end I would like to be able to edit the default command directly in parsers just like for kick command :
_commands['kick'] = 'clientkick %(cid)s'
But I don't know how to, if you could point me towards the right direction, I could update the plugin.