I am using this function in a statement like
echo("Hash="..hash)
local rId = getRoomIDByHash(hash)
where echo writes "Hash=+0+0-1", and I am getting the following error:
function:<Trigger5>
<[string "function IgorPack.isRoomDesc()..."]:37: attempt to call global 'getRoomIDByHash'
(a nil value)>
Is this a bug or am I doing something wrong? Strange thing is that setRoomIDByHash executes before if without problems.