From the help file of /help on mode:
The on MODE event triggers when a user changes a channel mode.
Note: These events only trigger on channel mode changes not user mode changes such as ops, bans, etc.But i dont see any problem with the code, so i have no idea why it shows it twice
BTW, i've always wondered why the
! in the commands, like /!remote off or /!help.... why do you put it for?

Zyzzy.