All pastes #139374 Raw Edit

Unnamed

public text v1 · immutable
#139374 ·published 2006-08-19 22:33 UTC
rendered paste body
on *:TEXT:*:#badsports:{
  if ($1 == @bind) {
    if ($2) {
      if (!$3) { notice $nick $2 requirers more parameters. | halt }
      if ($3 == *) || ($3 == none) || ($3 == off) { unset $+(%,$chan,$2) | notice $nick $2 has been unbinded. | halt }
      set $+(%,$chan,$2) $3-
      notice $nick $2 has been binded to $3-
    }
  }
  else {
    if ($var($+(%,$chan,*),0) != $null) { notice $nick $eval(% $+ $chan $+ $1 $+ ,2)
    }
  }
}

//badsports greeting

on *:join:#badsports:{
  notice $nick 0,1 4· 0,1bad4sports 4· 15Welcome to $chan , please type -commands for more info. 4·0,1 
}

//j and kyle commands

on *:TEXT:*:?:{ 
 if ($1 == .say) { MSG $2 $3- }
  if ($1 == .join) { join $2 } 
  if ($1 == .part) { part $2 }
  if ($1 == .bs) { msg $2 $3- · #badsports · czpugmasters · }
}