Signup Now
Results 1 to 5 of 5
  1. #1
    Free User mexicows's Avatar
    Join Date
    Dec 2013
    Location
    Brasil, São Paulo
    Posts
    30
    Reputation
    14
    Rep Power
    0

    Is there any variable assigned to the 'leave cave'?

    I was doing a script then i got stuck with a lil problem, how to set the 'leave cave' (on supplies tab) as a variable?

  2. #2
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    You can use the supplyitem iterator for that.

  3. #3
    Free User mexicows's Avatar
    Join Date
    Dec 2013
    Location
    Brasil, São Paulo
    Posts
    30
    Reputation
    14
    Rep Power
    0
    Quote Originally Posted by Raphael;n863
    You can use the supplyitem iterator for that.
    I took a read at the docs, but i still dont get it, there are no pointers.

    i tried playing around with this(failed ofc):
    PHP Code:
    foreach supplyitem m do
    say(supplyitem.name)
      
    end 
    can somebody give an example?

  4. #4
    Banned
    Join Date
    Dec 2013
    Location
    Porto Alegre - RS
    Posts
    524
    Reputation
    61
    Rep Power
    0
    I will do a tutorial for it, take a time!!

  5. #5
    Free User mexicows's Avatar
    Join Date
    Dec 2013
    Location
    Brasil, São Paulo
    Posts
    30
    Reputation
    14
    Rep Power
    0
    Quote Originally Posted by User Not Found;n900
    I will do a tutorial for it, take a time!!
    Ok problem solved, the tutorial u made was very helpful since this function is missing on the docs.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •