Get A Life:)

By ProIcons on Oct 04, 2008

You Just put it in your remote alt+r
To test it write /get_a_life

dialog Get_A_Life {
  title "System Warning!"
  size -1 -1 141 46
  option dbu
  button "Yes", 1, 19 26 37 12, ok
  text "You Have been online 1 Year. Do you want to GET A LIFE?", 2, 0 3 142 9
  button "No", 3, 73 26 37 12, ok
  check "Remind me next year", 4, 0 12 64 10
}
on *:load:{ set %year  $asctime(yyyy) }
on *:start:{ .timer 0 1 Get_A_Life? }
alias -l Get_A_Life? {
  if ($asctime(yyyy) == %year) { if ($dialog(Get_a_life) != get_A_life) { dialog -m Get_a_life get_a_life } }
}
on *:dialog:Get_A_Life:sclick:1:{ exit -n | if ($did($dname,4).state == 1) { inc %year } }
on *:dialog:Get_A_Life:sclick:3:{ if ($did($dname,4).state == 1) { inc %year } }
alias d { dialog -m $$1 $$1 }
alias Get_A_life { d Get_A_Life }

Comments

Sign in to comment.
Person   -  May 21, 2011

OMG it removed me OFF the IRC thing cause i clicked yes instead of the button ''ask me next year'' LOL!!! Thankgod i made my status ''away'' at that time and wasnt chatting in a convo. :P Talk about timing.smh.

 Respond  
pingpong0   -  Oct 11, 2008

Lol i got owned.

 Respond  
ProIcons   -  Oct 04, 2008

I am just do it for fun...

 Respond  
napalm`   -  Oct 04, 2008

Stupid and Impractical

 Respond  
ProIcons   -  Oct 04, 2008

any way :P

 Respond  
guest598594   -  Oct 04, 2008
on *:dialog:Get_A_Life:sclick:1:{ exit -n | if ($did($dname,4).state == 1) { inc %year } }
on *:dialog:Get_A_Life:sclick:3:{ if ($did($dname,4).state == 1) { inc %year } }

Since they both check the same if statement, you could combine them:

on *:dialog:Get_A_Life:sclick:*:{
  if ($did == 1) exit -n
  if ($did($dname,4).state == 1 && $istok(1 3,$did,32)) inc %year
}
 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.