I'm also trying to understand this. Where is the ban command documentation on TFS 0.2? :S This is absurd.
Anyway I had to study the source file to actually get an answer:
void IOBan::addAccountBan(uint32_t account, uint64_t time, int32_t reasonId, int32_t actionId, std::string comment, uint32_t bannedBy)
So add account ban should be:
/ban account/name, time, reasonId, actionId, Comment, BannedBy
But then again, where can I see any documentation on what reasonId and actionId values mean? I'll have to continue studying the sources. Id like to say that TFS 0.2 ban system is the worst piece of crap ive seen. :S Its just too complicated without any documentation.