Use the following command to fire the phasers two times during login on every day except Friday and fire them five times on Friday:
if day_of_week = "friday" then fire phasers 5 times else fire phasers 2 times end