Lol.
Hey anyone who knows even a tiny bit about scripting. Think you can figure out whats wrong with this?
exec("./DeletedMining.gui");
if(!$DeletedMiningBind)
{
$remapDivision[$remapCount] = "DeletedMod Mining";
$remapName[$remapCount] = "Mining GUI";
$remapCmd[$remapCount] = "toggleDeletedMining";
$remapCount++;
$DeletedMiningBind = 1;
}
function toggleDeletedMining(%i)
{
if(%i)
if(DeletedMining.isAwake())
canvas.popDialog(DeletedMining);
else
canvas.pushDialog(DetetedMining);
}
The keybind part works but the gui wont pop up.