Results 1 to 4 of 4

Thread: peltme script

  1. #1

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    peltme script

    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?????

  2. #2
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394

    Re: peltme script

    I am throwing out a wild guess.
    anything with a single quote or an & sign is always suspect when troubleshooting string handling objects.

    onject(3) = "tv's"
    Truly, you have a dizzying intellect.

  3. #3

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: peltme script

    Eh that was not the problem and it seems we are all blind
    VB Code:
    1. object(1) = "plates"
    2. object(2) = "knives"
    3. onject(3) = "tv's"
    4. object(4) = "money"
    5. object(5) = "pizzas"
    6. object(6) = "rats"

    notice onject(3)

    and then their was another error but i fixed it

  4. #4
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394

    Re: peltme script

    well at least I had the correct index!
    Truly, you have a dizzying intellect.

Posting Permissions

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



Click Here to Expand Forum to Full Width