tom
New Member
Posts: 2
|
Post by tom on Mar 3, 2024 2:17:07 GMT
Hi , is it possible to feed variables into a random number generation, so instead of %RANDOM_100-200% ( a random number between 100 and 200 ) something like %RANDOM_%FROMNUM%-%TONUM%% ( a random number between FROMNUM and TONUM ) (appreciate that syntax wont work, its just to illustrate the question) Thanks for your help Tom
|
|
|
Post by zeak on Mar 4, 2024 6:29:59 GMT
Hi Tom, First of all, Welcome to the Forum. With the latest updates to MMM, yes that syntax would work. But it looks like the %Random% function cannot handle variable integers; we might have to ask Steve to add this to the ideas for improvements. Cheers, Zeak
|
|
tom
New Member
Posts: 2
|
Post by tom on Mar 4, 2024 23:59:27 GMT
Thank you Zeak
|
|