People should also be aware that if you pass only one argument to a script, then
instead of:
[player] exec "script.sqs"
; ...and inside the script
(_this select 0) setPos [0,0,0]
do:
player exec "script.sqs"
; ...and inside the script
_this setPos [0,0,0]
as obviously, we should aim to write our scripts so that only minimum amount of scripting commands are executed. Creating an array for only one item, and then using select to pick that item from the array certainly doesn't follow that ideology.
Also, a way to shorten a little bit the removeTent.sqs:
deleteVehicle (_this select 0);
player addaction ["Build tent", "tent.sqs"];
as you can see there is no need to create another variable to hold the tent, as it already is in the _this array created by addAction.
All this talk is for reference. It is perfectly okay for you to just not get tangled up in what I said, and return to it later when you have gained more experience.