Results 1 to 3 of 3

Thread: World selecting

  1. #1
    Join Date
    Mar 2012
    Location
    Australia
    Posts
    625
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default World selecting

    Hi, trying to make my script choose a certain world because of avatar buffs for extra xp, I can't find what to type to make it chose a certain world. Do I have to make that whole bit up on my own for the script or is there an inbuilt way of telling it to choose a certain world. Thankyou!
    Bored of playing rs, and bored of botting it, why am i here?

  2. #2
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    In your DeclarePlayers procedure, just add WorldInfo, as seen in the example below. I believe this is what you mean/what you are looking for.

    Simba Code:
    procedure DeclarePlayers;
    begin
      HowManyPlayers:= 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer:= 0;
      with Players[0] do
      begin
        Name        := '';
        Pass        := '';
        Active      := True;
        WorldInfo := [true, 44]; // Selects world 44 when logged in on RS
      end;
    end;

    Hope this helps,
    Lj

  3. #3
    Join Date
    Mar 2012
    Location
    Australia
    Posts
    625
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    thankyou, i will give it a try when the script dies, i am sure this is exactly what i was asking for. much love xox
    Bored of playing rs, and bored of botting it, why am i here?

Thread Information

Users Browsing this Thread

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

Posting Permissions

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