Okay, it's good to know that I'm doing that part right, but it also means that I've almost definitely got the syntax wrong...
Code:
void onMain {
if jjTileGet(4,11,29) == 10 {
jjSwitchTrigger(1)
}
}
(If it wasn't already obvious, I'm a complete Angelscript/C/C++ noob)
__________________
|