• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Any way to resize an array?

Joined
Nov 11, 2012
RedCents
1,447¢
Was tinkering around with some modifications I wanted to make to one of my resources and was trying to figure out if there was some way to resize an array without redeclaring it, something like a redim of sorts. Looked through the wiki and didn't seem to have any luck, any ideas? Much appreciated. :)
 
Sounds like you might be interested in MQ2Collections
 
Create a new array of the original size, copy the original array to that, delete the original array, create a new array with the original one's name but with a different size, copy the copy to the new one.

Or use MQ2Collections like Chat said. It's much easier than working with arrays. Idk why I didn't learn about MQ2Collections sooner honestly, I'm still rewriting some old macros to use Collections lol.
 
Question - Any way to resize an array?

Users who are viewing this thread

Back
Top
Cart