Making a general "do whatever I say" script is a bad idea. Sure using /mode #chan +o nick isn't a big deal, but what happens if someone does /remove C:\windows\system.ini ? You could have some big problems. Even using a password, if someone gets the password, you're screwed. It is really a very bad idea.