Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
O.P. [Release] The Mystery Calculator
There are 6 "cards". Pick one number from one card. Tick all the check boxes relevant to each card that your number appears on. The script will then tell you your number
PS: Just knocked this together so let me know what you think
Posts: 3146 Reputation: 43
32 / /
Joined: Jan 2003
RE: [Release] The Mystery Calculator
code:function OncalcEvent_CtrlClicked(PlusWnd, ControlId){
if(ControlId=="btn_ok"){
var num = PlusWnd.Button_IsChecked("C1")<<0|PlusWnd.Button_IsChecked("C2")<<1|PlusWnd.Button_IsChecked("C3")<<2;
num |= PlusWnd.Button_IsChecked("C4")<<3|PlusWnd.Button_IsChecked("C5")<<4|PlusWnd.Button_IsChecked("C6")<<5;
Interop.Call("user32.dll","MessageBoxW",PlusWnd.Handle,"Are you ready to be amazed?\n\nThe answer is "+num+"!","Answer...",0);
}
}
\o/
This post was edited on 12-05-2007 at 07:01 AM by ShawnZ.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.