on 1:close:@first: unset %px %ilan | unloads first
alias first {
  if ( %init = 1 ) { set %initdate $date | mkdir dcc | mkdir dcc\images | mkdir dcc\musics | mkdir logs }
  window -Ckpa +fbn @first -1 -1 600 350 $icons(info)
  drawrect -fr @first $gettok(%xrgb,1,44) 1 0 0 600 350
  if %ilan < 3 { drawbut @first 410 285 160 18 I Agree }
  if %ilan >= 3 { drawbut @first 410 285 160 18 Next }
  if %ilan = 6 { drawbut @first 410 285 160 18 Finish }
  if %ilan > 1 { drawbut @first 20 285 160 18 back }
  bilang
}
alias bilang {
  if %ilan = 1 isa
  if %ilan = 2 dalawa
  if %ilan = 3 tatlo
  if %ilan = 4 apat
  if %ilan = 5 lima
  if %ilan = 6 anim
  halt
}
menu @first {
  sclick:{
    if ($inrect($mouse.x,$mouse.y,410 ,285 ,160,18) = $true) && (%ilan < 6) { s.key | inc %ilan 1 | first }
    if ($inrect($mouse.x,$mouse.y,20 ,285 ,160,18) = $true) && (%ilan > 1) { s.key | dec %ilan 1 | first }
    if ($inrect($mouse.x,$mouse.y,410 ,285 ,160,18) = $true) && (%ilan >= 6) { s.key | .timerp 1 1 personal | window -c @first | unset %ilan %px | unloads first }
  }
}
alias df drawsq @first 20 20 550 250 $1-
alias isa {
  set %px 10
  titlebar @first page 1
  df $sc version $bersyon - CONDITIONS OF USE | pil
  pil $sc is free and doesn't have time limitations on its use.
  pil
  pil DONT CHANGE ANYTHING ON SCRIPT'S SOURCE CODE (remote and aliases) 
  pil or else your computer may blow . . . :p
  pil nah! . . . NOT really... but some features and commands will not work properly
  pil
  pil It's the users only responsibility for any damage caused by missuse of the $sc , or failures 
  pil caused by a defective installation or incompatibility with other programs.
  pil
  pil $sc is excluded from any responsibility for any damage to the user on the IRC caused by
  pil atacks from other users. $sc  includes protection against such atacks, but for any others
  pil it's necessary the use of firewalls and or Windows patches that $sc doesn't include.
  pil
  pil The use of the $sc v $+ $bersyon suggest the total acceptance of these conditions.
}

alias dalawa {
  set %px 10
  titlebar @first page 2
  df version $bersyon - DISTRIBUTION | PIL
  pil $sc CAN'T BE DISTRIBUTED FROM OTHER WEB SITES, nor can it be distributed as part of 
  pil any package (CD's, magazine, etc.) without the author's permission.
  pil
  pil The graphics and other elements can be modified for particular use,
  pil but the copy and  distribution of these parts of the script are prohibited. Source code doesn't mean 
  pil "Free code" and plagiarism of these code will forfeit its legal rights and will be prosecuted by the law.
  pil
  pil Download the $sc from the oficial web site ( $urls )
  pil Downloading it from other site is taking the risk of download a modified script that includes 
  pil backdoors, trojans, or virus.
  pil
  pil Please ALWAYS download the $sc from its oficial web site.
}

alias tatlo {
  set %px 10
  titlebar @first page 3
  df Security on the IRC | pil
  pil $sc includes sample protection when attack by other users in the irc.
  pil
  pil But the script by nature don't offer protection against  other atacks directed towards the internet
  pil connection or the operative system. To be protected from these atacks it's necessary the use of
  pil FIREWALLS ( programs that filter the entrance and exiting of connections with internet ) and the
  pil update of the operative system ( in this case, Windows ) when any bug of it be made public.
  pil
  pil The only way to be protected is to be up-to-date with protections, and that imply to always use
  pil the latest $sc and Windows updates.  Just like and old antivirus is useless with the new 
  pil viruses an old script can't protect from new failures and atacks.
  pil
  pil To be up-to-date with protections you can visit the $sc $+ 's web site on a regular basis.
}

alias apat {
  set %px 10
  titlebar @first page 4
  df Script maintenance | pil
  pil SAVE the $sc $+ 's zip file, deadly.zip. You will need it if you need to reinstall the script 
  pil because of any corruption on the component files, wich may occur sometimes when the pc is 
  pil turned off without closing the script first, or which may oocur when CHANGING the SOURCE CODES.
  pil
  pil If the script start showing the type of errors like "unknown command" it's very probable that the script
  pil files are corrupted. If you encounter somr problems like "u dont see any text" its because you
  pil ACCIDENTALLY CHANGE SOURCE CODES . . . 
  pil Consult the help included and reinstall the script if necessary.
  pil
  pil You can also consult the help on the web or seek help on the Forum.
  pil
  pil You can't change the script name ( $+ $sc $+ ), author (DeadLy|myk), 
  pil and script's url ( $+ $urls $+ ), this can make your PC blow...
  pil .. not really, but it make some features wont work properly, or full script wont work properly
}
alias lima {
  set %px 10
  titlebar @first page 5
  df Configuration | pil
  pil From the SETUP window you'll be able to configure most of the mayority of the DeadLy Script's options.
  pil You can find this window by clicking on the logo at the top on the icon bar; or pressing the key F2.
  pil 
  pil Some features have shortcut FUNCTION KEYS, some of those:
  pil  F1 = see FKeys
  pil 
  pil  Registration Codes:
  pil  Fullname : deadly
  pil  Registration Codes : 3805-393656
  pil 
  pil Procedure:
  pil 1.  If your mIRC is not yet registered, use the deadly keys. On the menubar click Help then click Register. 
  pil 2.  mIRC Registration will popup. Fill the Fullname's and Registration Code's editbox
}

alias anim {
  set %px 10
  titlebar @first page 6
  df Fast configuration | pil
  pil Query on double click : Activate this option if you want to open a private when double click on a
  pil nick in the channel's nick list.  Deactivate, does a /whois.
  drawchk @first 40 75 $hget(setup,chk7) Query on double click
  pil | pil 
  pil Panel on channel and private : Deactivate this option so the icon's panel "hooked" at the bottom
  pil of the cannels and private windows doesn't show.
  drawchk @first 40 135 $hget(setup,chk25) Show panel
  pil | pil | pil
  pil This small introduction will unload itself now from the $sc $+ . After unloading you will see other 
  pil swithces which you can configure through your choices. You can go back to consult it from 
  pil the menu  DeadLy Script , option "help / introduction".
  pil | pil
  pil Enjoy using the $sc version $bersyon
}

menu @first {
  sclick: {
    if ($inrect($mouse.x,$mouse.y,40,75,150,16) = $true) { s.key 
      hadd setup chk7 $iif($hget(setup,chk7) = on,off,on)
      drawchk @first 40 75 $hget(setup,chk7) Query on double click
    }
    if ($inrect($mouse.x,$mouse.y,40,135,90,16) = $true) { s.key 
      hadd setup chk25 $iif($hget(setup,chk25) = on,off,on)
      drawchk @first 40 135 $hget(setup,chk25) Show panel
    }
  }
}
