What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

HasItem - number of items?

hoping the new release comes out soon with some of the features. The Wiki doesn't cover this 'cept for the new part thats not emplemented into the current release. I tried the one jade put up but couldn't get it to work, kept giving me an error saying the first if doesn't match the closing if.

Got some good plans already for some profiles but can't til this is available.
 
I just noticed the forum ate my encoding in Post #4. It read...
<If Condition="(Me.CarriedItems.Where(item => item.Entry == ITEM_ID).Sum(item => (int)item.StackCount)) <= 15">
and should have read:
<If Condition="(Me.CarriedItems.Where(item => item.Entry == ITEM_ID).Sum(item => (int)item.StackCount)) <= 15">

Sorry for the bad info. Just noticed it collapsed the > like it sometimes does. Its always best to run your expressions through the encoding tool. Otherwise, Honorbuddy will ignore them. :D

(But, it wouldn't have helped the post in this case--the correct value was entered and the forum collapsed it, so you have to escape things twice or use PHP tags. I failed on both.)


I've corrected Post #4, also.

cheers,
chinajade
 
@chinajade I noticed those > in your first post and corrected them to their correct html value in the profile script, but still it didn't work. So that's not the source of the problem
 
It seems to me that the new build 2.0.0.4245 has added / changed a lot of what we have been talking about. Will the new "GetItemCount" do what this thread asked in the beginning?
 
Back
Top