Aucun50 commented on a Page, Commands Script (v7.5)  -  Feb 20, 2009

Here's a fix for ya:

on *:TEXT:*:#: {
  if (!ban == $strip($1)) && ($strip($2)) {
    if ($nick isop $chan) {
      mode $chan +b $2
    }
  }
  if (!mode == $strip($1)) && ($strip($2)) {
    if ($nick isop $chan) {
      mode $chan + $2-
    }
    else { msg $chan You're not oped on this channel }
  }
  if (!voice == $strip($1)) && ($strip($2)) {
    if ($nick isop $chan) {
      mode $chan +v $2
    }
    elseif (!$2) { msg $chan No nick entered }
    else { msg $nick You're not oped on this channel. }
  }
  if (!devoice == $strip($1)) && ($strip($2)) {
    if ($nick isop $chan) {
      mode $chan -v $2
    }
    elseif (!$2) { msg $chan No nick entered }
    else { .notice $nick You're not oped on this channel. }
  }
  if (!unban == $strip($1)) && ($strip($2)) {
    if ($nick isop $chan) {
      mode $chan -b $2
    }
    elseif (!$2) { msg $nick No nick entered. Try again. }
    else { .notice $nick You're not oped on this channel. }
  }
  if (!commands == $strip($1)) {
    .notice $nick Regular commands for this bot are: !commands, !site, !info, !time, !invite < username > and !pm < username >.
  }
  if (!topic == $strip($1)) && ($strip($2-)) {
    if ($nick isop $chan) {
      topic $chan $2-
    }
    else { .notice $nick You're not oped on this channel. }
  }
  if (!site == $strip($1)) {
    msg $chan Come visit us at http://www.bluepower10.webs.com/
  }
  if (!info == $strip($1)) {
    msg $chan Bot made by Bluepower10. Bluepower10 Productions owns this bot at http://bluepower10.webs.com/ .
  }
  if (!kick == $strip($1)) && ($strip($2)) && ($strip($3-)) {
    if ($nick isop $chan) {
      kick $chan $2
      .notice $2 You where kicked by: $nick at $time on $date for $3- $+ .
    }
    elseif (!$2) { msg $nick No nick entered. Try again. }
    elseif ($2 !ison $chan) { msg $nick $2 is not in this channel }
    else { msg $nick You're not oped on this channel. }
  }
  if (!pm == $strip($1)) && ($strip($2)) {
    if ($2 ison $chan) {
      .notice $2 Hello $2! I was asked to PM you. How are you doing today?
    }
    else { .notice $nick Their not in this channel. }
  }
  if (!opc == $strip($1)) {
    if ($nick isop $chan) {
      .notice $nick Op commands are: !ban < username >, !unban < username >, !kick < username >, !+m, !im, !+i, !-i, !voice < username >, !devoice < username >, and !topic. Note: These commands only work for ops and if I am oped.
    }
    else { .notice $nick You need to be oped to see these commands. }
  }
  if (!Time == $strip($1)) {
    .notice $nick The time is $time and the date is $date $+ .
  }
  if (!invite == $strip($1)) && ($strip($2)) {
    invite $2- $chan
  }
  if (!register == $strip($1)) && ($strip($2)) {
    if ($nick isop $chan) {
      join $2
      mode $chan +o $nick
      msg $chan To register type /cs register (Channel) (Password) (Description), good luck!
      part $2
    }
    elseif ($1 == !register) && (!$2) { .notice $nick No channel entered }
    elseif ($1 == !register) && ($2) ($3) { .notice To much info given try: !register (Channel) }
    else { halt }
  }
}
on *JOIN:#: {
  .notice $nick Welcome to $chan ! For a list of commands, type !commands.  For op commands, type !opc.
}
 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.