Results 1 to 7 of 7

Thread: CountItemsIn();

  1. #1
    Join Date
    Oct 2006
    Location
    Ėstonia
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default CountItemsIn();

    I'd like to use this CountItemsIn in my first script to count items in inv but i don't know how to use it. CountItemsIn('inv', 'dtm', HereRealDTM, ANDWTFCOMESHERE?) Whats the fourth argument and how to use it?

  2. #2
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Open Inventory.Scar and goto that procedure and read what it does

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  3. #3
    Join Date
    Oct 2006
    Location
    Ėstonia
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What i gotta but in that TIntegerArray?

  4. #4
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I cant eithen find that function the only on i know of is countitems

    TTypeArray is things in [ ] tsring array could be ['hi', 'hello', 'hey']
    Blank!

  5. #5
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    just put there [0]
    I made a new script, check it out!.

  6. #6
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    just put there [0]
    Even better, put [] there. Depending what you are finding at least.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  7. #7
    Join Date
    Mar 2007
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just fyi, that argument is the Tolerance.

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
  •