Your server comparisons are probably not necessarily true, use ($network == whatever) instead, you can also separate channels with a comma for /join but I'm not sure if there's a limit or not on that. You also don't need to prefix commands with a / in scripts