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

zaider

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by zaider

  1. 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. SO READ BELOW 👨‍⚕️ 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 clickmouse(x,y); Wait(600000); clickmouse(x,y); ^^ i know that is nowhere near correct coding but just to explain in another way :P SCAR-0.bmp
  2. First of all I want to underline that I am not a pro scripter, so don't blame me for not knowing! I have written this script, but I don't seem to get it to work like I want. Basically I want the script to click on a color when it pops up and other than that I want it to type /goto 1-10 (random) every 5000 ms, but where should I add +chr(13)? I have tried like everywhere in the SendKeys line but it gives me error all the time. Also as the script looks now, it says "Identifier expected" at line 17. ---------- Post added at 06:35 PM ---------- Previous post was at 06:02 PM ---------- Fixed.
×
×
  • Create New...