Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Sign in to follow this  

Help an oldie out who is lost lol

Recommended Posts

Hi there,


I used to do a bit of scripting on SCAR over 10 years ago, but it seems like I have become very rusty and some of the coding rules have been changed??? Is that any right?


Either way I have seen some of you have been exceptionally helpful, and since mine is no biggie, I was HOPING someone would take their time helping me out.




What I need should be real simple (not for me lol). Basically once a bitmap appear (SCAR-0.bmp attached), there should be a mouseclick on x,y coordinates and then a waiting time of 10 minutes, and after those 10 minutes, the same x,y coordinates will be clicked again.

However, if the same bitmap appears within the 10 minutes, it should start the 10 minutes waiting time over from scratch and first click the coordinates after a full 10 minutes have passed without the BMP appearing on screen.


So like:

CreateBItmap(bmp1) ....

if findbitmap(bmp1) then




^^ i know that is nowhere near correct coding but just to explain in another way :P


Share this post

Link to post
Share on other sites

You almost got it with that pseudocode. The coding 'rules' haven't changed, the wrappers for built in functions and been re-arranged slightly since ~10yrs ago.


You can find the built in arrangements in code hints in SCAR or here https://wiki.scar-divi.com/SCAR_Divi_Online_Manual

If you have specific questions I can help answer them. 

It's much easier than it sounds

Welcome back

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...