SRL Archive - OSR Script Requests

Scripting First Little Project!


muffinman96

2013-03-30 23:07:07

Hey Guys… Just trying to script my first successful little script. I have used many and am very fascinated with the code and love tweaking and tampering with other peoples codes. So I have decided to give my self a little challenge and make my first successful script! Basically just a simple flax spinner at Lumbridge castle.

Currently have:
- Walking from bank to stairs, climbs stairs
- locates wheel, clicks spin
- climbs back up stairs, clicks bank
- banks inventory

I am not quite sure how to spin the flax, I don't know what method is used to actually click the location on the interface.
Here is a pic of what I'm talking about its the spin x flax.




Just would like a snippet or example of how to right click that spot and select "spin x"

rj

2013-03-30 23:10:53

if FindDTM(DTM_String, x, y, 47, 60, 462, 272) then
Begin
mmouse(x,y,5,5)
clickmouse2(mouse_Right);
ChooseOptionMultiHuman(['tring All','ing All']);
End;

Something like that?