Results 1 to 4 of 4

Thread: Help with vars

  1. #1
    Join Date
    Jun 2009
    Location
    Hiding
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Exclamation Help with vars

    ok i made a script and i want it to set some vars but im not sure how heres the script
    SCAR Code:
    procedure bronzebar;
    begin
     bn:='opper ore';
     bc:= 0;
     bn2:='in ore'
     bc2:= 0;
     OA:=14;
     OA2:=14
    bank;
    tosmelt;
    smelt;
    tobank;
    end;

    this is for a smithing script i need it to set the vars so it will find the right obj and yes i know there is 0's in there im not done yet
    ~Austin~

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure BronceBar;
    var
      bn, bn2: string;
      bc, bc2, OA, OA2: Integer;
    begin
      bn := 'opper ore';
      bc := 0;
      bn2 := 'in ore'
      bc2 := 0;
      OA := 14;
      OA2 := 14;
      Bank;
      ToSmelt;
      Smelt;
      ToBank;
    end;

    If you want them user defined, make them constants. I can help you more on MSN/AIM/whatever if you have it. PM me with details. <3

  3. #3
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You might want to add these to the player array.
    For more information add me to msn or pm me with your details!
    ~Hermen

  4. #4
    Join Date
    Jun 2009
    Location
    Hiding
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh and thanks that worked i changed the 2 to string and there was no problems
    ~Austin~

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
  •