DA GAME

By Blaze on Nov 23, 2007

Its a game oki
bi blaze1454

menu nicklist,channel,query,status {
  button:dialog -md button button
}
dialog button {
  title "push the button"
  size -1 -1 107 103 90 90
  option dbu
  button "PUSH", 1, 8 4 75 75
  text "", 2, 8 80 75 10
  button "exit", 3, 8 91 75 10, exit
  text "Level:", 4, 88 20 75 10
  text "", 5, 88 28 75 10
}
on *:DIALOG:button:init:*: {
  did -a button 2 $iif($read(Button.txt),Button pressed $read(Button.txt) times.,press da button)
  did -a button 5 $iif($read(level.txt),$read(level.txt),0)
}
on *:DIALOG:button:sclick:1: {
  inc %pressed
  write Button.txt %pressed 
  did -a button 2 Button pressed %pressed times.
  if (%pressed isnum 100) { did -a button 5 1 | .write level.txt 1 }
  if (%pressed isnum 250) { did -a button 5 2 | .write level.txt 2 }
  if (%pressed isnum 500) { did -a button 5 3 | .write level.txt 3 }
}
on *:DIALOG:button:sclick:3: {
  write Button.txt 0
  dialog -x button
}

Comments

Sign in to comment.
dma   -  Jan 09, 2016

wow this works great in 2016

 Respond  
jub369   -  Dec 22, 2007

lol its true

 Respond  
SLS10   -  Nov 24, 2007

Wow. Enjoyable for approximately one minute.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.