Results 1 to 4 of 4

Thread: Need procedure made by expert scripter

  1. #1
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need procedure made by expert scripter

    hey guys no i know that this doesnt call for an expert scripter really but i need one that never fails. I need one that gets the color at the current mouse position and saves it to a variable named such as

    GetMouseColor(ToSaveAs:Integer):Boolean;

    thnx =p

  2. #2
    Join Date
    Mar 2006
    Location
    United States, -7:00 GMT
    Posts
    1,790
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    SCAR Code:
    program ColorAtMouse;
    var YourVarHere:integer;

    function ColorAtMouse:integer;
    var fx, fy:integer;
    begin
      getmousepos(fx, fy);
      result:=getcolor(fx, fy);
    end;

    begin
      YourVarHere:=coloratmouse;
      writeln(inttostr(YourVarHere));
    end.

    Thats um how you use it. Not made by me, but Boreas.

    hakuna matata ;)

  3. #3
    Join Date
    Jan 2007
    Location
    USA
    Posts
    1,782
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thnx bro

  4. #4
    ronny.m.p Guest

    Default

    Ya that is a pretty basic on though...if you need one that saves the colors in either the chars or your own srl file then pm me.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Expert. Cooking Script.
    By Khazar in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 11-21-2007, 12:24 AM
  2. hi a scripter!
    By tunderofnl in forum Who Are You ? Who ? Who ?
    Replies: 0
    Last Post: 02-01-2007, 06:35 PM
  3. need a procedure made..
    By pwnaz0r in forum OSR Help
    Replies: 5
    Last Post: 01-23-2007, 09:51 PM

Posting Permissions

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