Thanks, Pat.
You have very nice suggestions, but I don't want to make the mod TOO complex. It should remain as easy to use as it is now. But people are free to make their own extensions of this mod.
Yeah, I noticed the portal height problem. It has more to do with how you place the portal, it seems, since it doesn't happen all the time. And WRENCH_EYE_OFFSET is 80 by default in the script, not 100. Dunno where 100 came from.
I'm not sure what's causing the rotation problem. Looking at the code, it seems like it should be working fine, but it's like it's ignoring one axis of rotation for some reason.
As for #3, I think that's how the mod originally worked when it only had Sars's code. I just felt that that method was a bit too limiting. Thus, I made it how it is now.
I'm not sure I want to replace the regular-fire function of the wrench. You might still want to use it
But yes, an indication of where/if you placed the first portal would be nice. The problem would be determing how to show it. What would we use as an in-game marker?
btw, anyone can feel free to contribute script code. I wouldn't mind. ;P
Add: I'm not sure what the use of a portal that loops back on itself would be, other than as a fancy mirror.