Maybe something like this would work (if i understand what youre trying to do correctly)?
 Code:
; ------- Determine if the user is in the LoginScript_QA group - Begin ------------------------
$Path = "qa\Netlogon"

$QAMessage = "You are running the QA Login Script"

If @ScriptDir = @ldrive + "qa\netlogon"
   GOTO RunQA
EndIf

If InGroup ("LoginScript_QA")
   Call @ldrive + $Path + "\login.kix"
   exit 0
Else
   $Path = ""
   Goto Production
Endif

:RunQA
MessageBox($QAMessage, "Message from Your System Administrator......",64,5)
; ------- Determine if the user is in the LoginScript_QA group - End --------------------------