Log in

View Full Version : how do i ad this to my script?



daddyproboot
01-08-2007, 09:01 PM
procedure MouseItem(i: Integer; left: Boolean);

Line 4: [Error] (15502:11): Unknown identifier 'i' in script
Failed when compiling
i get this ?



i know it does this but how do i get it to go to the inven slot
[By: RsN
Description:
Moves Mouse to invin spot then clicks left or right]

Boreas
01-08-2007, 09:16 PM
program New;
{.include SRL/SRL.scar}

begin
SetupSRL;
mouseitem(12,true);
end.

12 means 12th inventory spot, they are set up like this

1 2 3 4
5 6 7 8
9 10 11 12

true means left click, false means right click

dude12348
01-09-2007, 12:09 AM
tyvm!