I'm having an issue with using settogglestringex to change reference. I can set any reference except the last in the list. A few times it has worked to set an index value higher than there are elements, but it doesn´t work consistantly. Has anyone encountered this? May be able to work around it by adding an extra, temporary reference but it would be nice to not have to.
It works if the reference was created previously, I created the reference just before setting it in the code. I worked around by setting the preceding reference then the new one. Bit odd because the toggle-list for the command updates correctly right away.