Log in

View Full Version : Amount.scar



Bobzilla69
07-22-2007, 10:12 PM
ok i am a bit confused with this.

i am trying to use the function
function CountItemsBmp(area: String; bmp, tol: Integer): Integer;

but what is the area:string???

what am i supose to put in there??

LordGregGreg
07-22-2007, 11:52 PM
its a string contstant that needs to go in there

The area parameter in almost all of the functions consists of the string: 'inv'/'inventory','shop','bank','trade',or 'your trade'. This is the corresponding interface in which you want to find the amount in
(http://wiki.srl-forums.com/index.php/Amount.scar)

Bobzilla69
07-23-2007, 08:48 AM
ok so i take it i can only use the ones provided, what if all i wanna do is search the whole RS window?
so what ever window i specify?

Special Ed
07-24-2007, 03:13 PM
I think then you just have to do multiple checks or just rewrite the function to fit your needs.
If you want just tell me what your using it for and I'll see if I can help.

Bobzilla69
07-24-2007, 03:58 PM
it will sound sad but i am going to use it to count potatos that appear on the screen, its a game from neopets, which sums up how sad it but it allows me to learn scar without getting banned.

i would appreciate the help alot