Stack Items (GUI)

Level 4
Dec 15, 2007
Is there any way at all to get same item types to stack when picked up using GUI? Wasted 6 hours of my saturday trying and trying different ways without success. I also tried downloading WEU and made a more clear trigger, but none of those new fancy triggers worked as I got an error on every lines.
(Also tried downloading other "Spells" where they used Jass, but got errors at just about all the lines.)

Also if you know how to get rid of these lame errors, I'd be happy.