It has several Optional Script Calls, thus feel free to read the # embedded comments left there.
WARNING!
It would fail if you are testing your game using old save files.
An Actor's Position or Actor's Index can be any Number starting from 0.
The larger your Party is, the more positions there will be available.
It is also available for RMXP and RMVX ACE.