|
-
Dec 13th, 2006, 10:58 PM
#1
Thread Starter
Interweb adm/o/distrator
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:
Public type (6)
Public object (6)
Public amount (10)
amount(1) = "some"
amount(2) = "several"
amount(3) = "50"
amount(4) = "countless"
amount(5) = "trillions"
amount(6) = "billions"
amount(7) = "101"
amount(8) = "loads of"
amount(9) = "a lot of"
amount(10) = "abundance"
type(1) = "pitches"
type(2) = "throws"
type(3) = "shoots"
type(4) = "fires"
type(5) = "flings"
type(6) = "launches"
object(1) = "plates"
object(2) = "knives"
onject(3) = "tv's"
object(4) = "money"
object(5) = "pizzas"
object(6) = "rats"
anything wrong here?????
-
Dec 14th, 2006, 11:29 AM
#2
Hyperactive Member
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.
-
Dec 15th, 2006, 12:51 AM
#3
Thread Starter
Interweb adm/o/distrator
Re: peltme script
Eh that was not the problem and it seems we are all blind
VB Code:
object(1) = "plates"
object(2) = "knives"
onject(3) = "tv's"
object(4) = "money"
object(5) = "pizzas"
object(6) = "rats"
notice onject(3) 
and then their was another error but i fixed it
-
Dec 15th, 2006, 03:17 PM
#4
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|