This command forces a user to change nicks to the nick provided. This command is different from nicklock. Although nicklock does the same thing, it goes a step further in preventing the targeted user from changing nick names until they either reconnect to the network or a nickunlock is issued. If you use this command to change a user's nick, they will be free to change to any other nick that is not already prohibited by the IRC server or services.
This command takes two arguments, the target nickname and the nickname you wish to change that user to. For instance, to change the nickname of offensiveuser to nick1, you would use this command:
/samode offensiveuser nick1