Working on Forge 1.19.2
This is a modified version of Lexxie's Custom Nether Portal script.
The idea of this script was -- instead of using fun / fancy shapes, to simply have the ability to use a custom block, but retain the general shapes that a vanilla portal can be.
This should work on any shape/size up to 32 by 32 (Line 5/6)
It needs to be a minimum of 2x3 though (Line 104)
@bronze basin made all the edits, and asked if I could post the script here.
There is 1 issue that I havent been able to reproduce -- where sometimes the shape won't light. Either a /reload or server restart seems to fix it. Not sure what caused it.