Results 1 to 2 of 2

Thread: Help with procedures :s

  1. #1
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with procedures :s

    Hello, I'm Macro_FTW, thanks for visiting my thread

    Anyway, I have made a part of a script:
    SCAR Code:
    Procedure Iclick(Instructor: Integer Partofname: String);
    Findcolorspiraltolerence(Instructor,x,y,5,4,510,339,30);
    MMouse(x,y,2,2,true);
    if(GetUpText = Partofname)then
    Mouse(x,y,2,2,true);
    end;
    I would like to know if it would end up like this:
    when I type in
    Iclick(person, ers);
    would that send in "person" instead of Instructor for the findcolorspiraltolerence, and "ers" instead of Partofname in GetUpText? If not, what would make it do that? All help appreciated Thanks for your time
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  2. #2
    Join Date
    Apr 2007
    Posts
    581
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    That would find whatever color 'Instructor' is and if it finds it, it will move the mouse to that position, and if it finds the text 'PartOfName' at the top, then it will do whatever its supposed to do. ^_^ And its supposed to be

    SCAR Code:
    Procedure Iclick(Instructor: Integer Partofname: String);
    Findcolorspiraltolerence(Instructor,x,y,5,4,510,339,30);
    MMouse(x,y,2,2,true);
    if(GetUpText = Partofname)then
    Mouse(x,y,2,2,true);
    end;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using Procedures in Procedures?
    By Geebly in forum OSR Help
    Replies: 4
    Last Post: 03-14-2008, 07:33 AM
  2. better procedures?
    By lilboy543 in forum OSR Help
    Replies: 3
    Last Post: 04-25-2007, 01:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •