Results 1 to 3 of 3

Thread: script help

  1. #1
    Join Date
    Dec 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default script help

    Can someone help me out why isit my proggy showing up

    this is the code;

    Simba Code:
    procedure ProggyTest;
    begin
      ClearDebug;
      TimeGone := (GetTimeRunning/1000);
      XPGain[CurrentPlayer] := (CurrentXP - OriginalXP);
      XPPerhour :=(3600*(XPGain))/((TimeGone));
      begin
      begin
        Writeln('******************************************************************');
        Writeln('*/////////---------- Script Writer willow bot v1.0 ----------\\\\\\\*');
        Writeln('*/////////----------____________________________----------\\\\\\\*');
        Writeln('******************************************************************');
        Writeln('');
       begin
          Writeln('*/////////--------- Proggy for the player: ' + Players[0].Nick + ' --------\\\\\\\\\*');
          Writeln('*/////////Running for: ' + IntToStr(TimeGone) + ' secounds' );
          Writeln('*/////////We have gained ' + IntToStr(XpGain) + ' xp/  Thats ' + IntToStr(XPPerHour) + ' xp per hour');
           end;
     end;
    Last edited by Script writer; 12-05-2012 at 08:25 PM.

  2. #2
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Do you call this procedure in the mainloop?

  3. #3
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    @OP
    When requesting help please post the entire script. If you have info in the script you'd rather not share remove it first.

    Also wrap tags around your code. for instance use these tags: [SIMBA ] [/SIMBA ]

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
  •