Shoutbox

[Release] The Mystery Calculator - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Release] The Mystery Calculator (/showthread.php?tid=79583)

[Release] The Mystery Calculator by Spunky on 12-03-2007 at 05:43 PM

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 :p

PS: Just knocked this together so let me know what you think


RE: [Release] The Mystery Calculator by prashker on 12-03-2007 at 09:30 PM

lol :D


RE: [Release] The Mystery Calculator by Quantum on 12-03-2007 at 11:02 PM

Cool (Y) I know how it works:P

Oh..wait. Everybody else does too :)


RE: [Release] The Mystery Calculator by odbod on 12-05-2007 at 06:26 AM

Actually I don't understand...


RE: [Release] The Mystery Calculator by ShawnZ on 12-05-2007 at 07:00 AM

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/
RE: [Release] The Mystery Calculator by Oxy on 12-05-2007 at 10:37 AM

lolwtf.