eq2bot coding question

Tsumari2

Active Member
(this post copied over from the eq2bot subforum, was initially posted in the wrong place)

Please let me know if there is a way to do the following without having two versions of eq2bot -- thanks.

I'd like to add an argument to the official eq2bot release so you can type run eq2bot solo or run eq2bot (defaults to group) and the only difference between the two is that if you run it with the argument it changes the following line:

#include ${LavishScript.HomeDirectory}/Scripts/EQ2Bot/Class Routines/${Me.SubClass}.iss

to:

#include ${LavishScript.HomeDirectory}/Scripts/EQ2Bot/Class Routines/${Me.SubClass}solo.iss

That way some of the stuff I am doing, which helps a lot for soloing, can be released alongside Karye et-all's group-based scripts without having to change file names or overwrite things. Only thing is that include happens before the arguments are parsed, so the only way I can think of doing that would be with two copies of eq2bot.

Thanks,
Tsumari
 

Karye

Active Member
theres no need, simply do a check if your solo with the following code:

Code:
if ${Me.GroupCount}==1
{
     ;do some solo stuff here
}
else
{
     ;do some group stuff here
}
 

Tsumari2

Active Member
Hm. Want me to cook up some bad-ass solo stuff and hook it up to your group based stuff with that decision structure? EG the conjuror setting killtarget to aggro mob will get her one-shotted in raid but really helps solo.

Let me know what you think and if you want I'll post a combined script that plays "my way" solo and "your way" grouped =). The reason I asked the question that way is I assumed you would not like the idea I'm bringing up in this post. Let me know if I'm wrong =)

Tsumari
 

Karye

Active Member
For the record, you no longer have my permission to distribute any code that I have written.
 
Top Bottom