I'm not taking credit for this, just wanted to share the update I made to it from nwn1 to nwn2. It now works with conversations and passing arguments to it.
I've tested this a lot, and if you use this script with onUsed of an item, to teleport it works, but will crash if the person clicks multiple times before the port kicks off. I have no idea how to fix this, I tried setting variable and just exiting script, but with no luck. If someone can figure it out please post. It still works fine for conversations and trigger areas as far as I can tell.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone