All pastes #631156 Raw Edit

Unnamed

public text v1 · immutable
#631156 ·published 2007-07-23 19:25 UTC
rendered paste body
on *:TEXT:!addstaff *:#:{
  if ($nick == iCheck) {
    writeini botsettings.ini Staff $address($2,2) $address($2,2)
    .msg $chan $col1(Added) $col2($2) $col1(to) $col2($me) $+ $col1('s staff list.)
  }
}

on *:TEXT:!amsg*:#:{
  if ($address($nick,2) == $readini(botsettings.ini,staff,$address($nick,2))) && ($2) {
    amsg 2[4 Global2 -4 $nick 2]->4 $2- 
  }
}

on *:TEXT:!delstaff *:#:{
  if ($nick == iCheck) {
    remini botsettings.ini Staff $address($2,2) 
    .msg $chan $col1(Removed) $col2($2) $col1(from) $col2($me) $+ $col1('s staff list.)
  }
}
alias -l col1 { 
  return $+($chr(3),02,$1-,$chr(3)) 
} 
alias -l col2 { 
  return $+($chr(3),04,$1-,$chr(3)) 
}