You can use the SessionType UDF for this.

 Code:
Break on

;Get the session type.
$sessiontype = SessionType()

;check the session type and start script if it is con (console).
If $sessiontype = "con"
	;start your script here
EndIf


UDF Library » SessionType() - Gets the session type for the current user
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.