Results 1 to 2 of 2

Thread: Type mismatch

  1. #1
    Join Date
    Jan 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Type mismatch

    Simba Code:
    Procedure TeleGrab;
      begin
        GameTab(tab_Magic);
        Cast('telekinetic grab', 1); //Line with error
        if FindColorTolerance(X, Y, 14672618, sx, sy, ex, ey, 5) then
          MMouse(x,y,0,0);//this moves mouse there
            wait(100);
          Mouse(x,y,1,1,true);//this clicks it
    //14672618 = berries
      end;

  2. #2
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Cast(Spell: string; AutoCast: Boolean): Boolean;

    1 should be false.

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
  •