Creating an addon

What is wrong with this when i make it into an addon?

/script QuickJoinToastButton:SetAlpha(0)
/script ChatFrameMenuButton:SetAlpha(0)
/script ChatFrame1ButtonFrame:SetAlpha(0)
/script ChatFrameChannelButton:SetAlpha(0)
/script Minimap:SetAlpha(0.3)
/script ChatFrameToggleVoiceDeafenButton:SetAlpha(0)
/script ChatFrameToggleVoiceMuteButton:SetAlpha(0)

Remove the /script part of each line.