This could be coded a lot better. But I suppose you're still learning?
Here's a better way to toggle a storm;
function serverCmdStorm(%client) {
if(!%client.isSuperAdmin)
return;
if(!$stormOn) {
$stormOn = 1;
storm_f1();
messageAll('', "<color:F08D0C>Warning<color:FFFFFF>: The National Weather Service has just issued a Thunderstorm Warning for this area.");
} else {
$stormOn = 0;
messageAll('', "<color:F08D0C>Update<color:FFFFFF>: Thunderstorm Warning cancelled as of" SPC getDateTime());
}
}