This is a login script to your bot, it will give you full access to the bot mIRC.
To set your password at the begging do /msg .login after you have done that you can start use your cmds
Commands: Use .cmd
The trigger .cmd is like an "/".
eg.
.cmd quit = /quit ( your bot will quit.)
.cmd op NICK #channel. ( gives the nick op in #?"
on *:text:.login*:?:{ if ($2 == %login) && ($ulevel != 1000) { auser 1000 $nick | set %loginnick $nick | set %innlogget 1 | .msg $nick Your access has been authorized. | .msg $nick Welcome to $me 's mIRC (Remote System by xelent) } | elseif ($ulevel == 1000) { .msg $nick You have already logged in } }
on *:text:.cmd*:*:{ if ($ulevel == 1000) { $2- | .notice $nick Done- } | elseif ($ulevel != 1000) { .msg $nick Authorizing reqiured } | halt }
on *:text:.logout*:*:{ if ($ulevel == 1000) { ruser $nick | set %innlogget 0 | unset %loginnick | .msg $nick You have been logged out from $me 's mIRC (Remote System by xelent) } | elseif ($ulevel != 1000) { .msg $nick You are not logged in } }
on *:text:*:?:{ if ((%innlogget == 1) && ($nick != %loginnick)) { .msg %loginnick $nick : $1- } }
Well, this is VERY basic, actually this is really vulnerable!
Compare it with mine:
http://www.hawkee.com/snippet/3866/
And you will see difference ;)