Results 1 to 4 of 4

Thread: until find text

  1. #1
    Join Date
    Jan 2007
    Posts
    268
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default until find text

    hi i wanted to do something which would look like this in my script when it talks to a seaman:

    procedure talktoseaman;
    repeat
    blahblah;
    until(findtext('do u want to go to karamja'))
    if find text do u want...
    then
    result=true
    end;
    repeat
    talktoseaman;
    until(result=true);
    end;


    u understand? thats just the whole idea of it
    wat do i have to use so it will find the text when it talks to the seaman??
    i searched alot in srl manual and in other scripts but couldnt find...

  2. #2
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    I believe FindNPCChatText should work.

  3. #3
    Join Date
    Jan 2007
    Posts
    268
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ty dude

  4. #4
    Join Date
    Jan 2007
    Posts
    268
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i did

    if(findtext(Fx, Fy, 'o you want', NPCChars, MCX1, MCY1, MCX2, MCY2))then
    begin
    result = true;

    will it work!?!!?

    or i have to do :

    if(FindNPCChatText(Fx, Fy, 'o you want', NPCChars, MCX1, MCY1, MCX2, MCY2))then
    begin
    result = true;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. find text
    By elobire in forum OSR Help
    Replies: 8
    Last Post: 12-13-2008, 04:28 PM
  2. How do I find text?
    By Dudenow12 in forum OSR Help
    Replies: 6
    Last Post: 11-13-2007, 12:44 AM
  3. How can I find this text?
    By PwNZoRNooB in forum OSR Help
    Replies: 2
    Last Post: 05-22-2007, 01:03 PM
  4. what is the best way to find chat text
    By jhildy in forum OSR Help
    Replies: 7
    Last Post: 05-20-2007, 09:57 PM

Posting Permissions

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