Post Reply Home » Forums » EverQuest 2 » EverQuest 2 Premium Discussions

Tade Abbi. : EverQuest 2 Premium Discussions

Posted: May 11th, 2005
tearlow
Hey,


I would like to create a simple "IF" function that determins a name and that exact phase, like if someone says "1 Gold" or "53 Silver" etc. The bot will open the trade and add that amount of that coin. I just don't know enough VB to do it. But the basics looks like this:


Array $valid = "name1", "name2", "name3";

if ($name == $valid(array)) {
/target $name
Break down the phase into two parts Amount / What coin.
Open up trade
And something like /add_trade_$coin $amount
/accept_trade
}

Now here comes the problem part, Im running two clients at once since I usealy have one to play with and the other that stands in the house selling, So the script can't just use "Sendkeys" Since that would send it to the window im playing on...


Thanks in advance!
Posted: May 14th, 2005
simucal
It would be impossible to trade with you, without simulating input from the user, which would interrupt the current account you are on.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 29 guests
Post Reply