All pastes #430509 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-09 01:17 UTC
rendered paste body
on *:TEXT:*:#: { 
  if ($1 == %t $+ addchannel) { 
    writeini binds.ini $2 test test
    remini binds.ini $2 test 
  } 
  if ($1 == %t $+ bind) { 
    writeini binds.ini $2 $3 $4- 
  } 
  if ($1 == %t $+ commands) { 
    unset %n
    unset %b
    set %n 1
    while (%n <= $lines(binds.ini)) { 
      set %b %b %trig $+ $readini(binds.ini,$chan,%n)
      inc %n 2
      notice $nick %b 
    } 
  } 
}