Results 1 to 3 of 3

Thread: Help with chicken killer

  1. #1
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with chicken killer

    Ok so this script is working but there are a few bugs that I need help with.
    When fighting, it will try to kill already dead chickens, and I dont know why.
    I would also like if someone showed me how to make a progress report, because everytime I try to make one, I get errors. Thanks. P.S. this is my first script.

  2. #2
    Join Date
    Sep 2008
    Location
    New Zealand
    Posts
    157
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry I don't have time to read through your script at the moment (will try to later) but as far as proggies go, create a ScriptTerminate procedure (I am pretty sure they run when the script is stopped) and then in it you just use writeln() to write what your script has done for example how long te script ran for, how many chickens killed, how many levels gained (if you have a level gained detection built in). If you don't understand then have a go and post what you did and we can tell you what is wrong with it!

    Note: when using writeln if you are writing a variable that is a number (e.g. ChickensKilled) you must go:

    SCAR Code:
    writeln('bla bla bla' + IntToStr(ChickensKilled) + 'bla bla');

    to convert the integer to a string, if you are typing the number yourself then it is fine e.g:

    SCAR Code:
    writeln('Typing 9 is fine!');

    good luck!

  3. #3
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah and to get the ChickensKilled integer
    just do
    Inc(ChickensKilled); or
    ChickensKilled:=ChickensKilled+1;


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Chicken Killer (yet another one)
    By dontpanic in forum RS3 Outdated / Broken Scripts
    Replies: 122
    Last Post: 04-20-2008, 05:12 PM
  2. Chicken Killer
    By Electron Man in forum First Scripts
    Replies: 19
    Last Post: 11-19-2007, 12:32 PM
  3. Chicken killer
    By me_ntal in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 04-17-2007, 04:56 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
  •