All pastes #497028 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-19 16:20 UTC
rendered paste body
on *:INPUT:?: { 
  if ($1 == @bind) {
    if (!$2 || !$3) { 
     notice $nick Invalid syntax.  Please use @bind <commandname> <text>.
    }
    else {
      writeini binds.ini binds $2 $encode($3-,m)
      notice $nick $2 has been binded.
    }
  }
  if ($1 == @unbind) {
    if (!$2) {
      notice $nick Invalid syntax.  Please use: @unbind <commandname>.
    }
    else {
      remini binds.ini binds $2
      notice $nick $2 unbinded.
    }
  }
}