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 } } if ($1 == %t $+ $readini(binds.ini,$chan,$remove($1,%t))) { msg $chan $readini(binds.ini,$chan,$remove($1,%t)) } }