OK, when i run
 Code:
SessionType()
sleep 5


I get an error on the "SessionType()" line which means it can't run the function which its what it suppose to do on the line before that cause the function code is not in the script.

When i try
 Code:
DIM $A
	$A = SessionType()
	? $A


I just get in the console "SessionType()" as if the value in $A is a string.