updated commands

now commands don't emit a chat event and they contain params.