dialog files {
  title "KoRnBoT IRC Bot Files"
  size -1 -1 305 137

  box "Files:", 1, 2 2 300 100
  text "Click On File(s) To View:",12, 15 20 74 74

  button "&Readme", 196, 15 70 60 20
  button "&FAQ",197, 80 70 60 20
  button "&Credits/Notes",198, 145 70 80 20
  button "&About",199, 230 70 60 20

  button "&Close", 200, 235 110 60 20, ok
}

on *:dialog:files:sclick:*:{
  if $did == 196 { /readme }
  if $did == 197 { /faq }
  if $did == 198 { /credits }
  if $did == 199 { /about }
  if $did == 200 { /dialog -c files files }
}
