This is for a bot that connects to the battle.net servers via most clients anyway am doing this right i keep getting

Script Error: 18 Expected identifier
Expected identifier
Line: 18
Column: 7
Text: Public type (6)
Script error: Expected identifier.
Error caused by: Public type (6)

That was from the bot that has a fairly good error support anyway. here is the code that seems to be messing up

VB Code:
  1. Public type (6)
  2. Public object (6)
  3. Public amount (10)
  4.  
  5.  
  6. amount(1) = "some"
  7. amount(2) = "several"
  8. amount(3) = "50"
  9. amount(4) = "countless"
  10. amount(5) = "trillions"
  11. amount(6) = "billions"
  12. amount(7) = "101"
  13. amount(8) = "loads of"
  14. amount(9) = "a lot of"
  15. amount(10) = "abundance"
  16.  
  17. type(1) = "pitches"
  18. type(2) = "throws"
  19. type(3) = "shoots"
  20. type(4) = "fires"
  21. type(5) = "flings"
  22. type(6) = "launches"
  23.  
  24. object(1) = "plates"
  25. object(2) = "knives"
  26. onject(3) = "tv's"
  27. object(4) = "money"
  28. object(5) = "pizzas"
  29. object(6) = "rats"

anything wrong here?????