Results 1 to 9 of 9

Thread: Making a Key Be Held Down?

  1. #1
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default Making a Key Be Held Down?

    Yea^^ Any One Know How?
    I Know Like this:
    Simba Code:
    PressKey(VK_Space);
    I Need it for NPC Chatting.
    The One I've got is
    Simba Code:
    Function Chater:Boolean;
    Var
    Run:Integer;
    Begin
      Repeat
      Inc(Run);
      TypeSend(' ');
      Wait(RandomRange(1200, 1400));
      Until(Run = 4);
    End;
    Any Help?
    I'm not sure if you can Hold Key Down.
    Mat



    ^^

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  3. #3
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Ow

    Thanks Shut
    Mat
    How do I stop it?



    ^^

  4. #4
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  5. #5
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    It still only Presses it once?
    Do I still have to put it in a Repeat?
    Mat



    ^^

  6. #6
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  7. #7
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Okay Thanks Man
    Mat



    ^^

  8. #8
    Join Date
    Oct 2011
    Posts
    192
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    Assuming you're talking about skipping through NPC chat, I believe the old "ClickContinue" was updated to handle this? It may be called something else now, though..

    Don't quote me on this, I just remember reading something about this somewhere.

  9. #9
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    Aegis, your right How can I tell it What Option to choose? as I have it on a Coordinate? I can't seen to find it in the Chat Functions?
    Mat
    Edit: Found it
    Simba Code:
    FindNPCChatText('repair',ClickLeft);
    Last edited by Mat; 01-01-2012 at 12:50 AM.



    ^^

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
  •