If it is in the upper most level of the script (ie..not in a UDF) then yes it should exit the script. You could replace the 'Exit 0' with whatever code you want to be able to run on servers, and replace the line ';run the login script' with whatever code you want to run on non-servers.

 Quote:

Exit

Action: Exits the current KiXtart script, or, if used at the topmost level, exits KiXtart.

Syntax: EXIT [error level / exit code]

Remarks: If EXIT is followed by a numeric expression, then @ERROR is set to the value of that expression and you can check it in the calling script or batch file.

See Also: Return, Quit

The CHM help file is gold if youre beginning out with kix...here's the link.
http://scriptlogic.http.internapcdn.net/scriptlogic//downloads/kixtart/help/kixhelp4.53.zip