SRL Archive - OSR Help

clicking yes or no :/


catsrback321

2013-05-07 19:26:08

Hey everyone, I'm trying to get the script to teleport using the clan vellxium, I just need it to click the yes button to teleport and I can't find anything in the forums to show me how :S

I've spent about 2 hours trying to figure out how to try and get a bitmap to do the job but have failed, I didn't want to post this without trying :/
can someone please help?

Ian

2013-05-07 19:27:39

You can use SendKeys to type 1 which will press yes :)

Haxz

2013-05-07 19:31:20

I think you can use

FindNPCChatText('Yes', Clickleft);

Wetish

2013-05-07 19:39:48

As stated by BMWxi:
TypeSendEx('1',false); 
SendKeys('1', 30 + Random(30), 30 + Random(30));

This will simulate the pressing of the "1" key on your keyboard.

catsrback321

2013-05-07 19:44:13

I seem to have overcomplicated matters then :) thanks for the quick help everyone!

Ian

2013-05-07 19:56:19

Good luck with your script :)

catsrback321

2013-05-07 20:05:43

Thanks :) I may need it haha

Sk1nyNerd

2013-05-07 20:15:34

Ive used DTM's to identify texts properly, not the most appropriate way but just another option like the ones above. Gl