SRL Archive - OSR Help

Need help please!!!


barzo

2013-02-28 01:24:05

Begin

mmouse(posx,posy,10,10);

if (P07_ContainsText(P07_GetUpText, 'ank' )) then
Begin
ClickMouse2(mouse_Right);



if not ( P07_ChooseOptionMulti(['uickl', 'ank Ban']) ) then
goto str;



end


It's saying (dif bank detection).simba(600:51): Type mismatch at line 599
Compiling failed.

LINE 599-if (P07_ContainsText(P07_GetUpText, 'ank' )) then

CAN SOMEONE HELP ME PLEASE THIS IS DRIVING ME CRAZY OMG

Runehack123

2013-02-28 01:48:09

No idea where line 599 is for that matter, but this looks like it's causing the type mismatch.
ClickMouse2(mouse_Right);

You can't have mouse_Right. If you look at the SRL include you will see you need a Boolean or Integer for the type of mouse click you want to perform.

Best of luck.

Sjoe

2013-02-28 02:26:07

Just use: if P07_IsUpTextMultiCustom([ 'ank']) then

Clickmouse2(mouse_right); should work normally.

Itankbots

2013-02-28 04:00:14

Would help if we had the full code. I Feel like there are other problems then those 3 lines.

Edit: nvm i think you didnt install the 07 include which the the problem, idk tho cause i dont use 07 suff.