All pastes #582467 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-22 00:02 UTC
rendered paste body
menu * {  
  Access Dialog: /dialog -md vfd vfd 
} 
alias vfd { dialog -md vfd vfd 
} 
dialog vfd { 
  title "Access Dialog Made By Jammin69960" 
  size -1 -1 190 82 
  option dbu 
  tab "Add", 1, 1 2 188 103 
  box "Channel", 4, 4 24 62 21, tab 1 
  box "Nick", 6, 103 24 62 21, tab 1 
  edit "#ChannelName", 3, 7 31 55 10, tab 1 
  edit "Nick Goes Here", 5, 105 30 55 10, tab 1 
  edit "Level of Access", 7, 58 50 79 10, tab 1 
  box "Level", 8, 56 44 84 19, tab 1 
  button "Set Access To Nick", 16, 46 68 96 9, tab 1 ok 
  box "Access", 2, 1 16 186 50, tab 1 
  tab "Del", 9 
  box "Channel", 12, 16 25 63 22, tab 9 
  box "Nick", 14, 91 25 66 21, tab 9 
  edit "#ChannelName", 11, 20 33 55 10, tab 9 
  edit "Nick Goes Here", 13, 95 32 55 10, tab 9 
  button "Delete Akick From User", 15, 48 54 78 9, tab 9 ok 
  box "Delete Access", 10, 4 19 182 56, tab 9 
  tab "Credits", 17 
  text "I Give 100% Credit To Me (Jammin69960)", 18, 4 24 181 35, tab 17 
  text "(I May Add To This As I Update It)", 21, 100 53 85 30, tab 17 
  box "Credits", 19, 3 18 184 46, tab 17 
  text "Have Fun", 20, 3 67 50 10, tab 17 
} 

on *:dialog:vfd:sclick:*:{ 
  if ($did == 16) { cs access $did(3) add $did(5) $did(7) }
  if ($did == 16) { notice $did(5) you have been added to the access list for $did(3) at level $did(7) }
  if ($did == 15) { cs access $did(11) del $did(13) }
  if ($did == 15) { notice $did(13) you have been deleted from the access list for $did(11) }
}