That's the way I use a similar script. Set the nick as a variable and then allow them only to use the next command.