thanks though is this necessary?
PHP Code:
function onCreated() {
if (isObject("GUI_Inventory")) {
GUI_Inventory.destroy();
}
}
some parts of your script i'm still unfamiliar with. mainly GraalControl, even though it sounds self-explanatory its not something i've gone over very well before.