Possible to detect users OS?

I wanna detect a users OS on GLUA. I wanna use GetHTMLMaterial which makes OSX users crash due to the awesominium library being broken on the OSX platform. Is there any way to detect a users OS so I can make sure the code doesn’t execute for OSX users?

Good luck mate.

You could use jit.os.

[editline]17th June 2013[/editline]

Note that it’s a string variable, not a function.


Oh great thanks Wizard!
Il mark as solved when I have checked it out.