How would i detect, and then right click and trade a NPC.
If i use the findobjectcustom function, what do i do after that to trade the NPC?
Thanks for the help.
How would i detect, and then right click and trade a NPC.
If i use the findobjectcustom function, what do i do after that to trade the NPC?
Thanks for the help.
Simba Code:MMouse(x, y, 3, 3);
If( WaitUptextMulti(['alk-to', 'andit shop', 'hopkeep'], 450))Then
Begin
Mouse(x, y, 3, 3, False);
WaitOption('Trade', 450);
FFlag(0);
Result := WaitFunc(@ShopScreen, 150, 1000);
if(Result)Then
Break;
End;
reply if u need addional help.
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
Thanks for that ill try it on my script later.
While your still here, after this how would i choose to buy x amount of one of the items, then x amount of the other items the shopkeeper is selling?
first u gotta find where the item you want to buy is. (DTM, color, bitmap, even TPA) you need coordinates.
Simba Code:Mouse(x, y, 10, 10, false);
WaitOption('Buy X', 450);
Wait(1000); //just a wait for the chatbox to update
Typesend('X of number u want to buy');
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
There are currently 1 users browsing this thread. (0 members and 1 guests)