ID:269023
 
How would you go about doing something like:
mob/verb/q(N as num,Q as num)
if(N is multiple(Q)&&Q is factor(N))
world << Q

_>
Or something along those lines.
If N is a multiple of Q, then Q is a factor of N (assuming Q is a whole number). You can use the modulo operator (%) to see if one number is evenly divisible by another. If X%Y is 0, then X is evenly divisible by Y.
In response to Shadowdarke
Ooooh, thanks Shadowdarke. :O