Results 1 to 2 of 2

Thread: Help needed with script!

  1. #1
    Join Date
    May 2007
    Location
    Netherlands
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help needed with script!

    Hello,

    i have maked a script that needs to responds to only 1 person
    but he doesnt respond or something.
    so i hope that some one could look at it and can and want help me..

    Code:
    program Auto_Responder;
    {.include srl/srl.scar}
     
    var text,ghostly018:string;
     
    procedure Respond;
    begin
     text :=(GetTextAtEx(18, 415, 7, SmallChars, False, False, 0, 0, 0, 50, False, tr_allChars));
     if(text=ghostly018)then
      begin
       if (InChat('Hi'))then
       typeSend('ahsdhdfd');
      end;
    end;
     
    begin;
    SetupSRL;
    repeat
     Respond;
    until(false);
    end.

  2. #2
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    You're variable "ghostly018" holds no value. you need to do something like:

    SCAR Code:
    Var ghostly018:String;

    ghostly018:= 'ghostly018';

    so now your variable holds the value you are looking for. Remember you variable name IS NOT the value it holds, but is just a thing, or address.

    so a variable p could hold a very long string/integer/extended value.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. help needed for script 55% done
    By sink998 in forum OSR Help
    Replies: 13
    Last Post: 10-09-2008, 04:38 PM
  2. Script Needed ! ! !
    By senteniel in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 07-03-2007, 01:47 AM
  3. Script Needed.
    By Street Life in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 05-11-2007, 12:21 AM
  4. i have few script that needed help to fix
    By david$ in forum OSR Help
    Replies: 2
    Last Post: 12-12-2006, 04:44 AM

Posting Permissions

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