Results 1 to 4 of 4

Thread: im a noob at smart lol plz help

  1. #1
    Join Date
    Feb 2014
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default im a noob at smart lol plz help

    i need help i need to make smart press the 3 key (not the numpad3)
    i keep getting this error

    Error: No default value for parameter 2 found at line 51
    Compiling failed.

    here is the part of the script that im working with
    Code:
    procedure GrabNeedles;
    var x, y: integer;
    var loop: integer;
    
    begin
      for loop:=0 to 9999 do
      FindNormalRandoms;
        begin
          if FindObj(x, y, 'ear', 15198954, 10) then
          mouse(x, y, 0, 0, false);
          ChooseOption('ear');
          wait(400+random(75));
          SmartSendKeys(3);
          Antiban
        end;
    end;
    can anyone help plz?

  2. #2
    Join Date
    Apr 2015
    Location
    FireFox
    Posts
    528
    Mentioned
    10 Post(s)
    Quoted
    227 Post(s)

    Default

    Simba Code:
    typeSend('3', false); //true if you want to press enter
    or
    Simba Code:
    typeByte(VK_3);
    Scripting with ogLib

  3. #3
    Join Date
    Feb 2014
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    yay thanks it works

  4. #4
    Join Date
    Apr 2015
    Location
    FireFox
    Posts
    528
    Mentioned
    10 Post(s)
    Quoted
    227 Post(s)

    Default

    Quote Originally Posted by dave2850 View Post
    yay thanks it works
    No worries, do you know about the include documentation?
    Also, make sure feel free to message me if you need help down the road!
    Scripting with ogLib

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
  •