Ok, it seems like you've added a remote script or alias that has hijacked the /mode command.
Search all 3 script files (Alt+R and the View menu there) for "alias mode" and you Aliases tab for anything starting with /mode