Results 1 to 3 of 3

Thread: hometeleing help plz

  1. #1
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default hometeleing help plz

    well i got the procedure to hometele it compiles except for the bottom line about setting current player to false

    SCAR Code:
    Procedure HomeTele;
    Begin
    If Not (Findcolorspiral(x,y,6060169,2,2,418,304)) Or
    (Findcolorspiral(x,y,5029073,2,2,418,304)) Or
    (Findcolorspiral(x,y,1783884,2,2,418,304)) And
    Not (FindSymbol(x,y,'Churn')) Then
    GameTab(7);
    Mouse(x,y,577, 240, True);
    Writeln('Hometele Sucsessful');
    If (InChat('minutes to cast this spell.')) Then
    Writeln('Setting player to false need to wait some time to teleport back');
    Players.[CurrentPlayer].Active:=False;
    End;

  2. #2
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    Procedure HomeTele;
    Begin
      If Not (Findcolorspiral(x,y,6060169,2,2,418,304)) Or
      (Findcolorspiral(x,y,5029073,2,2,418,304)) Or
      (Findcolorspiral(x,y,1783884,2,2,418,304)) And
      Not (FindSymbol(x,y,'Churn')) Then
        GameTab(7);
      Mouse(x,y,577, 240, True);
      Writeln('Hometele Sucsessful');
      If (InChat('minutes to cast this spell.')) Then
        Writeln('Setting player to false need to wait some time to teleport back');
      Players[CurrentPlayer].Active:=False;
    End;

    You don't need the dot inbetween 'Players' and [CurrentPlayer]
    Interested in C# and Electrical Engineering? This might interest you.

  3. #3
    Join Date
    Dec 2006
    Posts
    2,244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks

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
  •