Hello !
I have the same problem, but i searched a litte and i found something in ban.cpp/h
/ban nick_name, from 0 to 7 (but i don't know what it is :/ ), reason (for example Offensive statement), action id **, comment
**
BAN_IPADDRESS = 1,
NAMELOCK_PLAYER = 2,
BAN_ACCOUNT = 3...