ID:104123
 
Redundant
Applies to:DM Language
Status: Redundant

This feature has already been implemented, or is already achievable with existing methods.
Well would be cool if we have a built-in pair and Odd checker including a findnum. For example in tournament:


if(findnum(Odd,peoplejoined.len)) // If the players count on peoplejoined is an Odd number.


Understand? Feel free to post your ideas!
isodd(N as num) if(N && isnum(N) && ((N) % 2)) return 1
...?
This is a really convoluted syntax for what basically amounts to putting %2 after the value. This is not only easily done in soft code, it's more easily done in soft code.
Example?

Something like this?

if(tournamententries.len%2)


?