87 posts
Location
Basement
Posted 12 December 2012 - 09:53 AM
So i was writing this code and i keep getting an error, i looked it up on the forums and have tried to fix it. I can't so i need your help.
CODE:
term.clear()
if gGUI then
else
print("Downloading X0pk1n's GUI…")
sleep(2.5)
shell.run("pastebin", "hLLjTfjz" ,"GUI")
end
sleep(2)
It returns.
CONSOLE :
Downloading x0pk1n's GUI…
Usages:
pastebin put <filename>
pastebin get <code> <filename>
Any help?
2217 posts
Location
3232235883
Posted 12 December 2012 - 09:56 AM
you are using pastebin incorrectly
the syntax is
pastebin get <code> <filename>
you forgot the "get"
also, put things in
tags with the [img]http://www.computercraft.info/forums2/public/js/3rd_party/ckeditor/plugins/ipscode/images/code.png?t=B8DJ5M3[/img] button :3
1111 posts
Location
Portland OR
Posted 12 December 2012 - 09:57 AM
Just as the error says, your not sending the right arguements.
shell.run("pastebin", "get","hLLjTfjz" ,"GUI")
87 posts
Location
Basement
Posted 12 December 2012 - 09:59 AM
you are using pastebin incorrectly
the syntax is
pastebin get <code> <filename>
you forgot the "get"
also, put things in
tags with the [img]http://www.computercraft.info/forums2/public/js/3rd_party/ckeditor/plugins/ipscode/images/code.png?t=B8DJ5M3[/img] button :3
I tried pastebin get hLLjTfjz GUI in the place of shell.run() before and it didnt work, maybe i did something wrong when trying that in.
Can you show me an example please?
Thank you for your help :)/>
87 posts
Location
Basement
Posted 12 December 2012 - 10:02 AM
Just as the error says, your not sending the right arguements.
shell.run("pastebin", "get","hLLjTfjz" ,"GUI")
AHHH… works now :D/> Thank you :)/>
1619 posts
Posted 12 December 2012 - 06:56 PM
The formatting. It is burning my eyes. Please, please, format it with the code button.