• 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 - Replace a sub in a script programmaticly?

AmericanNero

Seasoned veteran member
Joined
Oct 13, 2020
RedCents
4,709¢
Hi, I'm striving to learn the scripting language and wonder if it's possible to do the following. My terminology may be inadequate. Doing best I can.

Just as an example, I would like to override a current sub. E.g.

Sub Pettoys (petid)

Such that I don't screw with the current version by renaming it and declaring my own or directly edit it.

I envision an include with something like the following

Sub Pettoys Replace

If not could something like this be provided in mqnext?

Thanks,
AN
 
Make the new sub, named something differently, in the include and then Replace all /call Oldpetsub with /call Newpetsub
 
I just remembered that the next version of mq will utilize Lua, so the problem I mentioned will be moot. Can't wait!
 
Question - Replace a sub in a script programmaticly?

Users who are viewing this thread

Back
Top
Cart