EQ2bot and triggers

bob_the_builder

Well-Known Member
The triggers listed in eq2bot.iss (method Init_Triggers) ... do those only work through IRC?

For example:
AddTrigger BotAbort "EQ2Bot end"

Iv'e tried in tells, says, group but this trigger (and the others) do not seem to fire.

Are these only for IRC?

Bob
 

Hendrix

Well-Known Member
That could be used with Aim, IRC, Relay, or anything else that doesnt add anything else to what you say... if you ant it to work with tells it would have to look something like,
Code:
AddTrigger BotAbort "@whateva@ tells you,@Whateva@EQ2Bot end@whateva@"
Granted that isnt a very good trigger because if someone sends you a tell and it randomly says Eq2bot end in it then your bot would end. I just didnt have the exact syntax of a tell to give you an example here this fine day.
 

bob_the_builder

Well-Known Member
Thanks Hendrix, was my assumption. I had just started working with eq2irc. I saw the triggers first before i read about eq2irc though.

Im anxious to try eq2irc now !!!

I had wanted to just setup a win32 ircd but have not been able to find anything to my liking.

Do you use a local IRC server? Running under windows?

Any suggestions on an IRC server i can run local on a windows box?

Bob
 

bob_the_builder

Well-Known Member
Since im still kinda talking / asking about triggers ...

Is there a command I can issue from a trigger to accept UI requests:
a) Accept Group
b) Accent Quest

Basically hoping i can keep my UI off (save me a few frames im told) and still be able to work with them.

Bob
 

Pygar

EQ2Bot Specialist
There is an event for the choice window. EQ2_onChoicewindow or something like that.

You can attach an atom to the event and analyze the message and choice values and decide what to do with them.


Now, I have no idea if the event fires or not with the UI hidden... so not sure there.

check the in game / command to make sure there isn't a /groupinviteaccept or something.
 

Hendrix

Well-Known Member
i know there is a command to accept a group invite, not sure about accepting a quest though.

Code:
if ${RewardWindow(exists)}
{
	wait 5
	RewardWindow.Child[button,Accept]:LeftClick
}
that would accept a quest if it pops up.
 

Pygar

EQ2Bot Specialist
yeah that code works...

click click click click click click click click click click click

It has false positives, and will also accept duals, destroy confirms, and every other window that pops up.

use the events.
 
Top Bottom