33 posts
Location
SOMEWHERE IN F*%KING MINECRAFT!!!
Posted 20 December 2012 - 10:30 PM
Please I cant work out whats wrong with this peice of code….
function clear()
shell.run("clear")
print("UGSD (Underground Shaft Digger). Running version:" .. version)
print("--------------------------")
print("")
end
I'm getting an "=" expected on the first line but no matter how many "=" I put there it dosn't work. :(/>
1214 posts
Location
The Sammich Kingdom
Posted 20 December 2012 - 10:38 PM
I just ran the same code in CC Emulator and it worked perfectly. If this is only part of the code then can we see the full code with the exact error and what CC version are you running?
33 posts
Location
SOMEWHERE IN F*%KING MINECRAFT!!!
Posted 20 December 2012 - 10:52 PM
I'm also using CC-EMU.
heres a screenshot of the error…..
Spoiler
7508 posts
Location
Australia
Posted 20 December 2012 - 10:53 PM
the first line is version = 0.1 BETA
make it
version = "0.1 BETA"
1214 posts
Location
The Sammich Kingdom
Posted 20 December 2012 - 10:56 PM
Yep, remember to have multiple words in a string. Next time remember to post the whole code.
33 posts
Location
SOMEWHERE IN F*%KING MINECRAFT!!!
Posted 20 December 2012 - 10:56 PM
the first line is version = 0.1 BETA
make it
version = "0.1 BETA"
DUDE I FUCKING LOVE YOU!!!!
I knew i shoul dof just PM'ed you in the first place :)/>
7508 posts
Location
Australia
Posted 20 December 2012 - 11:00 PM
I knew i shoul dof just PM'ed you in the first place :)/>
lol.