add functions and a chat logger the add/remove cmds system doesn't work properly. don't try to remove a cmd, i'l delete all the other cmd too :(

Signed-off-by: makidelille <makidelille@hotmail.fr>