All pastes #285006 Raw Edit

Unnamed

public text v1 · immutable
#285006 ·published 2006-12-19 15:00 UTC
rendered paste body
alias operator /dialog -m operator operator
dialog operator {
  title "Operator"
  size 97 76 172 28
  option dbu
  icon OMERTA.ICO
  text "Op Commands", 23, 1 20 40 10
  button "+o", 1, 0 0 10 10
  button "-o", 2, 0 10 10 10
  button "+h", 26, 20 0 10 10
  button "-h", 27, 20 10 10 10
  button "+v", 3, 10 0 10 10
  button "-v", 4, 10 10 10 10

  button "Kick", 5, 30 0 15 10
  button "Ban", 6, 30 10 15 10
  button "Whois", 7, 46 0 18 10
  button "Away", 11, 46 10 18 10
  button "BOT", 13, 65 0 18 10
  button "Theme", 15, 65 10 18 10

  text "------Service Commands------", 16, 95 20 71 10

  button "Login", 14, 84 0 20 20

  button "+o", 17, 104 0 10 10
  button "-o", 18, 104 10 10 10
  button "+h", 28, 114 0 10 10
  button "-h", 29, 114 10 10 10
  button "+v", 19, 124 0 10 10
  button "-v", 20, 124 10 10 10

  button "Kick", 21, 134 0 15 10
  button "Ban", 22, 134 10 15 10

  button "KickBan", 24, 149 0 23 10
  button "UnBan", 25, 149 10 23 10

}

on *:DIALOG:operator:sclick:1:{
  if ($me isop $active) {
    mode $active +ooo $snick($active,1) $snick($active,2) $snick($active,3)
  }
}
on *:DIALOG:operator:sclick:17:{
  /cs op $active $snick($active,1) 
}
on *:DIALOG:operator:sclick:2:{
  if ($me isop $active) {
    mode $active -ooo $snick($active,1) $snick($active,2) $snick($active,3)
  }
}
on *:DIALOG:operator:sclick:18:{
  /cs deop $active $snick($active,1) 
}
on *:DIALOG:operator:sclick:26:{
  if ($me isop $active) {
    mode $active +hhh $snick($active,1) $snick($active,2) $snick($active,3)
  }
}
on *:DIALOG:operator:sclick:28:{
  /cs halfop $active $snick($active,1) 
}
on *:DIALOG:operator:sclick:27:{
  if ($me isop $active) {
    mode $active -hhh $snick($active,1) $snick($active,2) $snick($active,3)
  }
}
on *:DIALOG:operator:sclick:29:{
  /cs dehalfop $active $snick($active,1) 
}
on *:DIALOG:operator:sclick:3:{
  if ($me isop $active) {
    mode $active +vvv $snick($active,1) $snick($active,2) $snick($active,3)
  }
}
on *:DIALOG:operator:sclick:19:{
  /cs voice $active $snick($active,1) $snick($active,2) $snick($active,3)
}
on *:DIALOG:operator:sclick:4:{
  if ($me isop $active) {
    mode $active -vvv $snick($active,1) $snick($active,2) $snick($active,3)
  }
}
on *:DIALOG:operator:sclick:20:{
  /cs devoice $active $snick($active,1) $snick($active,2) $snick($active,3)
}
on *:DIALOG:operator:sclick:5:{
  if ($me isop $active) {
    kick $active $snick($active,1) $logoscript 
  }
}
on *:DIALOG:operator:sclick:21:{
  if ( $snick($active,1) != $null ) {
    /cs kick $active $snick($active,1) $logoscript
  }
}
on *:DIALOG:operator:sclick:6:{
  if ($me isop $active) {
    ban $active $snick($active,1) 2
  }
}
on *:DIALOG:operator:sclick:22:{
  if ( $snick($active,1) != $null ) {
    /cs ban $active $snick($active,1) $logoscript
  }
}
on *:DIALOG:operator:sclick:24:{
  if ( $snick($active,1) != $null ) {
    /cs kickban $active $snick($active,1) $logoscript
  }
}
on *:DIALOG:operator:sclick:25:{
  if ( $snick($active,1) != $null ) {
    /cs unban $active $snick($active,1) $logoscript
  }
}

on *:DIALOG:operator:sclick:7:{
  whois $snick($active,1)
}
on *:DIALOG:operator:sclick:8:{
  ctcp $snick($active,1) ping
}

on *:DIALOG:operator:sclick:11:{
  away.setup
}
on *:DIALOG:operator:sclick:12:{
  ignore $snick($active,1) 1 
  closemsg $snick($active,1)
}
on *:DIALOG:operator:sclick:13:{
  if ( %botstatus != ON ) { 
    boton 
  }
  else {
    bot
  }
}
on *:DIALOG:operator:sclick:14:{ 
  /loginmenu
}
on *:DIALOG:operator:sclick:15:{
  theme
}