I used the script from the AM Help to limit the players inventory and replaced only the number and name of item:
If VAR1 < 6 Then
Action.AddItem "Dollar"
VAR1 = VAR1 + 1
Else
Message "You cannot carry more than 6 items." + VbCrLf + "Throw the items that you don't need into the bin."
End If
The message comes to the right time (and keeps on coming everytime I pick up an item) but I can still collect items to infinity...
Did I miss something?