Wow, you have too many different names for the bot so that its hard to follow the workflow, but from what I've come up with:
Change
case "Boshbot, Off":
BamBot.Delete(); break;
$remapCmd[$remapCount] = "BoshBot.Off";
To:
case "Boshbot, Off":
BamBot.Off(); break;
$remapCmd[$remapCount] = "BamBot.Off";
Or
case "Boshbot, Off":
BoshBot.Delete(); break;
$remapCmd[$remapCount] = "BoshBot.Delete";