in the init.sqs:pcaction = pc addaction ["Take pc","takepc.sqs"]where
pcaction is the ID of the action
pc is the name of the pc in editor
addaction being the command
"Take pc" the what you see in action menu in game
"takepc.sqs" the script which the action will execute
in takepc.sqs:pc removeaction pcactiondeletevehicle pcexitwhere
pc removeaction pcaction consists of the name of the pc, command to remove action from pc, the ID of the action to be removed.
deletevehicle pc of command to delete an object, the name of the object to be deleted.
exit exiting the script.
If you add the command to the pc the player will get it on his action menu when he's close enough of the pc.. which is sweet for your purpose I think.
//edit
I can't see why you'd need to define global variable pc as "laptop pc closed". If you've named your pc in the editor as 'pc' and you redifine that variable in the script as "laptop pc close", there's no way the script is ever going to work