Gumby:
Looks like a promising start, I will try that out when I get home and see how well it does.
Maybe with Gumby's code I will be happy, but he made his post while I was typing this reply. As it was a decent amount of typing and has what I consider great ideas to expand MQ2 it's getting posted anyway =)
MCS:
Yes, that is a beautifully written script. I tried it out with my enchanter and it does it's job well.
The problem is that is does everything like I want, but it can only do it around the character. It does not allow you to set an x,y location, use a MOB ID's x,y to spit out MOB ID's or how many mobs are in the area by going through the code.
The people who make these scripts are great, and I'm sure if what I wanted to do was possible, someone would have done it by now. It must be a limitation in MQ2 and short of having a custom command for doing what I'm looking for built in, it's probably not possible.
If I had a magic coder ring(as opposed to the magic decoder ring I do have) I guess I would want $searchspawn to either return a count based on radius or place every mob in the search area into and array. I could see how implimenting this could expand /who, $spawn, $target and possibley other commands into automatic array builders, Boolean output searches and any number of other uses, as their code seems fairly well intertwined.
/Who from a characters perspective has the funtionality in some ways when you use radius, but there is no way to define the axis or from my current ability, move a /who's results into a script. Possibley a $who command tied to the current coding of $searchspawn and /who. If created it could work out well but I'm not up to the level of the developers here in coding C++. Soon maybe, but definately not right now.
Another concept I was playing with was notnearalert and nearalert functions. If nearalert or notnearalert search an array and send out flags, would it be improbable to impliment "general" statements like npc, pc or whatever other arrays that might exist behind the scenes. I assume that superwho's access the "array" in EQ's memory, but have to bring the data out of EQ's memory to perform the fuctionality it has.
Something like:
Code: Select all
/echo $searchspawn(npc,loc:100:400,radius:200,nearalert:pc)
The huge anti-ks routines would be so simplified that it may take away some coders job, but it does sound relatively feasible if I understand what's going on properly =)