Yes, this is an IRC in development but I'm very rusty at GUI's since I haven't touched them for years.
Please may someone point in the direction of why when I press my bound key that I bind in the menu, the function isn't getting called?
Here's the toggle bind part.
$IRCBind = 0;
if($IRCBind == 0) {
$IRCBind = 1;
$remapDivision[$remapCount] = "IRC";
$remapName[$remapCount] = "General Discussion";
$remapCmd[$remapCount] = "toggleIRC";
$remapCount++;
}
function toggleIRC() {
echo("Test function");
if($IRCengaged == 0) {
$IRCengaged = 1;
pushIRCgui();
} else {
$IRCengaged = 0;
popIRCgui();
}
}