local last_random_int
events.console_input:set(function(text)
if text == '/roll' then
local random_int = utils.random_int(1, 6)
local str = common.get_username() .. ' rolled a ' .. random_int
if random_int == 1 and random_int == last_random_int then
str = str .. '... snake eyes!'
end
print(str)
last_random_int = random_int
return false
end
end)