Ok.. I've just encountered something I cant figure out. I'm using the exact code I posted above and it has been working great for several days. After I restarted mudlet the script is erroring and refuses work even tho I haven't done anything to the code. The error I get is Lua syntax error:[string "setBorderBottom(30)..."]:2: attempt to index global 'Geyser' (a nil value)Vadi wrote:That's fine, it shows the difference clearly. Thanks!
[ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent>
<attempt to call a nil value>
[ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent>
<30>
I have really no clue what is going on here. If someone could try and explain what and why this is happening when the exact same code have been working perfectly for several days, I would really appreciate it.