Results 1 to 7 of 7

Thread: How to add a thing to Proggy;

  1. #1
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to add a thing to Proggy;

    Making a new script and i cant get this to work

    SCAR Code:
    Procedure Proggy;
    begin
    Writeln (' ScriptNameHere Ran For: '+ TimeRunning);
    end;

    I want to add Writeln ('Loads Done: TheCode;

    or something that will work its a simple thing wich i dont understand

  2. #2
    Join Date
    Jan 2007
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Writeln (' ScriptNameHere Ran For: '+ TimeRunning +'!');
    Srl simply rocks.

  3. #3
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Rambozin View Post
    Writeln (' ScriptNameHere Ran For: '+ TimeRunning +');
    I think ur stupid if u dont get that

    Edit: i meen a new writeln under that saying

    Writeln ('Loads Done: theCodeToWriteHowManyLoadsDone;

    so the loads done thing WILL work...

  4. #4
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    If it's an integer that you want to add use IntToStr, if it's a float use FloatToStr, if it's a boolean use BoolToStr:

    WriteLn('Hello');
    WriteLn('Hello'+IntToStr(4));
    WriteLn('Hello'+FloatTostr(2.3));
    WriteLn('Hello ='+BoolToStr(False));

    WriteLn('Running for: '+IntToStr(GetTimeRunning));
    Hup Holland Hup!

  5. #5
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A float being an extended for all ye wondering
    The truth finally came out...


  6. #6
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Ah yes, thanks for pointing that out
    Hup Holland Hup!

  7. #7
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Writeln(' Total # of Loads '+inttostr(TotalLoads));

    TotalLoads is a var (integer) which adds 1 to it everytime your drop a full load...

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Proggy On Rs Screen?
    By D1zl3 in forum OSR Help
    Replies: 16
    Last Post: 12-05-2008, 02:56 AM
  2. proggy or proggie
    By Shuttleu in forum SRL Site Discussion
    Replies: 37
    Last Post: 06-12-2008, 05:47 AM
  3. Begin and End for proggy
    By faster789 in forum OSR Help
    Replies: 7
    Last Post: 03-24-2008, 04:43 PM
  4. proggy help
    By HarryJames in forum OSR Help
    Replies: 8
    Last Post: 02-28-2007, 11:44 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
  •