script for go to room

Is there a script for going directly to a room?

I can only see the script create an exit but then you have to type more commands to go there.

Thanks,

yes
player.parent=roomname

Thank you Pertex, it hit me and i found the script move object so i moved the player :)