
@terminalpluginshell5

	IF Qupload @terminalshellupload
	IF Qdownload @terminalshelldownload
	IF Qconsole @terminalshellconsole
	IF Qprogram @terminalshellprogram

	GOTO @terminalcommandinterpret4

@terminalpluginshell4

	CALL 2240@splitcommand #<lastAsk>
	STRCMP #<arg0>, "null"
	IF!= @terminalcode

	GOTO @terminalcommandinterpret3

@terminalpluginshell3

	GOTO @terminalcommandinterpret2

@terminalpluginshell2

	GOTO @terminalcommandinterpret1

@terminalpluginshell1

	GOTO @terminalcommandinterpret0

@terminalpluginshell0

	RETURN null
	END

@terminalcode
	RETURN #<arg0>, #<arg1>, #<arg2>, #<arg3>, #<arg4>, #<arg5>, #<arg6>, #<arg7>, #<arg8>, #<arg9>
	END

@terminalshellupload
	SET_LEN comlen, #<lastAsk>
	COMPARE comlen, 6
	IF= @terminalshelluploadback
	SUB comlen, 7
	SET_SUBSTR command, 7, #<comlen>, #<lastAsk>
	CALL 2240@separateCommas #<command>
	CALL 2240@compilestring vsguicommand, vsuploadstring
	CALL 2240@uploadstring vsuploadstring, #<arg0>, #<arg1>
	RETURN null

@terminalshelluploadback
	RETURN upload

@terminalshelldownload
	SET_LEN comlen, #<lastAsk>
	COMPARE comlen, 6
	IF= @terminalshelldownloadback
	SUB comlen, 7
	SET_SUBSTR command, 7, #<comlen>, #<lastAsk>
	CALL 2240@separateCommas #<command>
	CALL 2240@uploadstring vsdownloadstring, #<arg0>, #<arg1>
	CALL 2240@decompilestring vsdownloadstring, vsguicommand
	CALL 2240@drawcommands
	RETURN null

@terminalshelldownloadback
	RETURN download

@terminalshellconsole
	RETURN console
	END
@terminalshellprogram
	RETURN program
	END
