Results 1 to 11 of 11

Thread: SetTab Procedure (The All and Game Tab)

  1. #1
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default SetTab Procedure (The All and Game Tab)

    I didnt know what to call this so i named it SetTab.

    Here's a picture if you dont know what tab im trying to say:


    SCAR Code:
    procedure SetTab(Option : String; BottomTab: Integer);
    Var
       x, y, mx, my, Color: Integer;
    begin
      Case BottomTab of
        1: mx := 32;
        2: mx := 98
        else Exit;
      end;
      my := 486;
      Case Option Of
        'All','all': begin Color := 3819344; Option :='All'; end;
        'Game','game': begin Color := 3819344; Option :='Game'; end;
        else Writeln('Option in SetTab does not exist!');
      End;
      If FindColor(x, y, Color, mx - 10, my - 10, mx + 10, my + 10) Then
      Begin
        Mouse(mx, my, 8, 8, True);
      End;
    end;

    To use it type in:
    SCAR Code:
    SetTab('All',1) // 1 is for All and 2 is for Game.

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wat it does its sets a tab? wich tab?
    ~Hermen

  3. #3
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by hermpie View Post
    wat it does its sets a tab? wich tab?
    You know that "All" and "Game" tab thingy at the bottom left of RS near the Public chat private chatr and stuff. That thing

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ow kk yeah can be usefull
    ~Hermen

  5. #5
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by hermpie View Post
    ow kk yeah can be usefull
    Ye useful is some ways

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what a awsome pic the pic is better then the function
    ~Hermen

  7. #7
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by hermpie View Post
    what a awsome pic the pic is better then the function
    Lol, ye man that picture is like the best aye?

  8. #8
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    SetTab is to generic, try to name in SetPublic or something. You might also want the number to be the value the button is, and the string the buttons name (chat, trade).
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

  9. #9
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Would be nice if you could add full support (for all the tabs), plus that if a tab is not open but 'activated' it will jump from normal to blue all the time.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  10. #10
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Would it be put into SRL?
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  11. #11
    Join Date
    Mar 2007
    Posts
    674
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Nice,kinda like SetChat()

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Game freezes on procedure Mouse
    By Bad Processor in forum OSR Help
    Replies: 7
    Last Post: 10-29-2008, 08:59 PM
  2. my first Java game (shooter game)
    By Lorax in forum Java Help and Tutorials
    Replies: 19
    Last Post: 08-18-2008, 10:48 PM
  3. The Word Game Game
    By Putnam in forum The Bashing Club / BBQ Pit
    Replies: 5
    Last Post: 04-02-2008, 03:07 AM
  4. Procedure that calls random procedure?
    By Secet in forum OSR Help
    Replies: 2
    Last Post: 03-03-2007, 03:56 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
  •