I'm actually trying to do a random image picker to make the game more real.
here is the actual code
<<set $randomimage = random(5)>>
[img["home" + $randomimage.jpg]]
I'm only an amateur but it seemed logic to do it that way for me but it appears that in chrome my variable $randomimage is undefined. Getting this error:
<img src="homeundefined">
Here is the solution: