I did make the eePanels2 wikis as a favor for Evil Elvis. The scripts were copy-pasted from the thread on wowace, except for the one I wrote myself for elite unit status.
What you want to look at is this script:
http://www.wowace.com/wiki/EePanels_..._hide_when_not
Take this part of it
Code:
if GetNumPartyMembers() > 4 or GetNumRaidMembers() > 0 then
-- Show the panel this script is attached to
THIS:Show()
Change Show to Hide and put your party eePanel names in there, just like your other script. And put it into your script you showed above just like the rest of them.
edit: I was going to tell you to add registering for the RAID_ROSTER_UPDATE event, but you already have it.