Blockland Forums > Modification Help
Detecting when someone's score changes?
<< < (2/3) > >>
Daenth:

--- Quote from: otto-san on June 04, 2011, 01:38:58 AM ---You could check to see if the score afterwards is a multiple of two.

--- End quote ---
How could you do that?
MegaScientifical:

--- Quote from: Daenth on June 04, 2011, 03:03:23 AM ---How could you do that?

--- End quote ---


--- Code: ---if(%flag / 2 $= mFloatLength(%flag / 2, 0)) {
//do stuff
}
--- End code ---
Destiny/Zack0Wack0:

--- Quote from: MegaScientifical on June 04, 2011, 03:10:21 AM ---
--- Code: ---if(%flag / 2 $= mFloatLength(%flag / 2, 0)) {
//do stuff
}
--- End code ---

--- End quote ---

--- Code: ---if(%flag % 2 == 0)

--- End code ---
MegaScientifical:

--- Quote from: Destiny/Zack0Wack0 on June 04, 2011, 03:19:47 AM ---
--- Code: ---if(%flag % 2 == 0)

--- End code ---

--- End quote ---

Damn you... adding to my //'d out section of main scripts
Greek2me:

--- Quote from: MegaScientifical on June 04, 2011, 06:50:35 PM ---Damn you... adding to my //'d out section of main scripts

--- End quote ---
Haha, you do that to!
Navigation
Message Index
Next page
Previous page

Go to full version