Just to elaborate with an example of what Mart and BradV pointed out.

 Code:
$nul = SetOption("NoVarsInStrings","ON")	; Place these setoptions at the top of your script to ensure that dollar
$nul = SetOption("NoMacrosInStrings","ON")	; signs  and @'s inside of quotes are not seen as kix variables or macros.

;Mapped Drive

If InGroup ("Group-Junior")
	use N: "\\zeus\academic$"
	use S: "\\zeus\Sherston$"
	use Y: "\\zeus\"+@UserID+"$"	; Remove macros and variables from inside strings like so.
EndIf					; Make sure that you always include ENDIFs to close an IF block.

If InGroup ("GROUP-ADMIN")
	;use K: "\\zeus\Intranet$" 
	use J: "\\TWC-3cx\Sync"	
	;use Q: "\\zeus\Photos$"
	;use R: "\\zeus\Reports$"
	use V: "\\twcstore01\Staff & Pupil"
	use W: "\\twcstore01\Resources-S"
	use X: "\\zeus\applications"
	use Y: "\\zeus\"+@UserID+"$"
Endif