alias help {
If ($1 == $null) {
help
}
Else {
If ($1 == .cmd) {
echo .cmd sends a RAW command to the server
echo It basically tells the server exactly what you type after the password.
echo Ex: <Me> .cmd 123 helpop <Bot> Command Executed
echo Bot's Side: Helpop OutPut
}
If ($1 == .join) {
echo .join usage:
echo /msg Bot .join <password> <#Channel>
}
If ($1 == .part) {
echo .part usage:
echo /msg Bot .part <password> <#Channel>
}
If ($1 == .server) {
echo .server usage:
echo /msg Bot .server <password> <IP/Host> <arguments> <ports> <password>
echo type /help /server for more info
}
If ($1 == .restart) {
echo .restart usage:
echo /msg Bot .restart <password> <now|connection|cancel>
echo .restart now < That will restart mIRC as soon as it gets the command
echo .restart connection < It will disconnect and reconnect
echo .restart cancel < Cancel's any pending restart
echo .restart < Restarts mIRC in 30 secons
}
If ($1 == .shutdown) {
echo .shutdown usage:
echo /msg Bot .shutdown <password>
echo Shuts down the bot
}
If ($1 == /resetpass) {
echo /resetpass usage:
echo /resetpass
echo Will pop up a window for the new password
}
}
}
needs to be this:
alias help {
If ($1 == $null) {
help
}
Else {
If ($1 == .cmd) {
echo .cmd sends a RAW command to the server
echo It basically tells the server exactly what you type after the password.
echo Ex: <Me> .cmd 123 helpop <Bot> Command Executed
echo Bot's Side: Helpop OutPut
}
Elseif ($1 == .join) {
echo .join usage:
echo /msg Bot .join <password> <#Channel>
}
Elseif ($1 == .part) {
echo .part usage:
echo /msg Bot .part <password> <#Channel>
}
Elseif ($1 == .server) {
echo .server usage:
echo /msg Bot .server <password> <IP/Host> <arguments> <ports> <password>
echo type /help /server for more info
}
Elseif ($1 == .restart) {
echo .restart usage:
echo /msg Bot .restart <password> <now|connection|cancel>
echo .restart now < That will restart mIRC as soon as it gets the command
echo .restart connection < It will disconnect and reconnect
echo .restart cancel < Cancel's any pending restart
echo .restart < Restarts mIRC in 30 secons
}
Elseif ($1 == .shutdown) {
echo .shutdown usage:
echo /msg Bot .shutdown <password>
echo Shuts down the bot
}
Elseif ($1 == /resetpass) {
echo /resetpass usage:
echo /resetpass
echo Will pop up a window for the new password
}
Else {
help $1-
}
}
}