This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
FUCKCOMPUTERCRAFT!"£'s profile picture

Pastebin error

Started by FUCKCOMPUTERCRAFT!"£, 12 December 2012 - 08:53 AM
FUCKCOMPUTERCRAFT!"£ #1
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?
PixelToast #2
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
Luanub #3
Posted 12 December 2012 - 09:57 AM
Just as the error says, your not sending the right arguements.

shell.run("pastebin", "get","hLLjTfjz" ,"GUI")
FUCKCOMPUTERCRAFT!"£ #4
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 :)/>
FUCKCOMPUTERCRAFT!"£ #5
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 :)/>
Dlcruz129 #6
Posted 12 December 2012 - 06:56 PM
The formatting. It is burning my eyes. Please, please, format it with the code button.