Andrew's Command Line

By AndrewMiller17 on Oct 02, 2005

Similar to henrikthesexy's bot commands, but more added if your bot is admin. Enjoy.

on admin:text:.*:#:{ 
  if ($me isop $chan) && ($1 == .ban) { mode # +b $2- } } else { .msg $nick I must have mod to perform this command. }
  if ($me isop $chan) && ($1 == .unban) { mode # -b $2- } else { .msg $nick I must have mod to perform this command. }
  if ($me isop $chan) && ($1 == .topic) { topic # $2- } else { .msg $nick I must have mod to perform this command. }
  if ($1 == .join) { join $2- }
  if ($1 == .part) { part $2- } 
  if ($1 == .action) { describe # $2- }
  if ($1 == .say) { msg # $2- }
  if ($me isop $chan) && ($1 == .mode) { mode # $2- } else { .msg $nick I must have mod to perform this command. }
  if ($1 == .kill *) { kill $2- }
  if ($1 == .kline *) { kline $2- }
  if ($1 == .unkline *) { unkline $2- }
  if ($1 == .akill) { akill $2- }
  if ($1 == .rakill) { rakill $2- }
  if ($1 == .admin) { setoper $2- +admin }
  if ($1 == .deadmin) { setoper $2- -admin }
  if ($1 == .oper) { setoper $2- +ircop }
  if ($1 == .deoper) { setoper $2- -ircop }
  if ($1 == .reg) { services register $2- }
  if ($1 == .unreg) { services drop $2- }
  if ($1 == .aop) { services AOP # ADD $2- }
  if ($1 == .sop) { services SOP # ADD $2- }
  if ($1 == .vop) { services VOP # ADD $2- }
  if ($1 == .deaop) { services AOP # DEL $2- }
  if ($1 == .desop) { services SOP # DEL $2- }
  if ($1 == .devop) { services VOP # DEL $2- }
  if ($me isop $chan) && ($1 == .op) { mode # +o $2- } else { .msg $nick I must have mod to perform this command. }
  if ($me isop $chan) && ($1 == .deop) { mode # -o $2- } else { .msg $nick I must have mod to perform this command. }
  if ($me isop $chan) && ($1 == .voice) { mode # +v $2- } else { .msg $nick I must have mod to perform this command. }
  if ($me isop $chan) && ($1 == .devoice) { mode # -v $2- } else { .msg $nick I must have mod to perform this command. }
  if ($me isop $chan) && ($1 == .kick) { kick # $2- } else { .msg $nick I must have mod to perform this command. }
  if ($me isop $chan) && ($1 == .kban) { kick #  $2- } | mode # +b  $2- } } else { .msg $nick I must have mod to perform this command. }
  if ($1 == .commands) { msg $nick commands: op, deop, voice, devoice, kick, kban, ban, unban, topic, join, part, action, say, mode, kill, kline, unkline, akill, rakill, admin, deadmin, oper, deoper, reg, unreg, aop, sop, vop, deaop, desop, devop. }
}
menu * {
Admin
.Set Admin:/auser admin $$?="Enter Nick Here:"
.Del Admin:/ruser admin $$?="Enter Nick Here:"
}

Comments

Sign in to comment.
therannmann2000   -  Feb 21, 2006

I see .action and .say, but nothing for private messages. Maybe a .msg also, or .msg INSTEAD of .say (so you can .msg $chan, or .msg $nick). Other than that, looks like everything is well done :D

 Respond  
Noutrious   -  Oct 03, 2005

Pretty god job! ;)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.