Page 1 of 1

Can't start!

PostPosted: Sat Mar 26, 2011 12:10 pm
by tipasz
Okay so when i hold ESC and click on ghosttown button it opens up Maxscript tab and thats about it
Maxscript log:
macroScript openGhostTown
category:"kilaD"
buttontext:"GhostTown"

(
global GT_MainUI

on execute do
(
if GT_MainUI!=undefined and GT_MainUI.open==true then
(
cui.UnRegisterDialogBar GT_MainUI
destroydialog GT_MainUI
GT_MainUI=undefined
)
else
(
filein (getdir #scripts+"\\kilad\\Ghosttown\\GTMain\\GT_Splash.mse")
)
)
on isChecked do GT_MainUI!=undefined
)

I dont know what's wrong can somebody help?