Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
This might be a mod conflict, but I have no way to tell exactly, as there is REALLY nothing in logs (at least, nothing is added between when I launch the die and when I retrieve it)
at https://www.lua.org/cgi-bin/demo . lower and upper are possible values.
"Is that inclusive or exclusive (including 1 and 100 or not including them)?"
It is inclusive 1 and 100.
math.randomseed(os.clock()*100000000000)
local r = tostring(math.random(1,100))
http://lua-users.org/wiki/MathLibraryTutorial
says that "math.random(lower, upper) generates integer numbers between lower and upper."
I am not sure. But i think 1 and 100 are possible.