Hello Dears

i want a Script in Which BOT asks for Password to Give access to specific users of kick ban and aop.please if anybody help me.
also i want that Nick SHould be added by IP like if nick is ABC then it also CHecks IP nick@119.119.199.*
Waiting for response