Jump to content




Pastebin error


  • You cannot reply to this topic
5 replies to this topic

#1 FUCKCOMPUTERCRAFT!"£

  • Validating
  • 87 posts
  • LocationBasement

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?

#2 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

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 [CODE] tags with the Posted Image button :3

#3 Luanub

    Lua Nub

  • Members
  • 1,135 posts
  • LocationPortland 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")


#4 FUCKCOMPUTERCRAFT!"£

  • Validating
  • 87 posts
  • LocationBasement

Posted 12 December 2012 - 09:59 AM

View PostPixelToast, on 12 December 2012 - 09:56 AM, said:

you are using pastebin incorrectly
the syntax is
pastebin get <code> <filename>
you forgot the "get"

also, put things in [CODE] tags with the Posted Image 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 :)

#5 FUCKCOMPUTERCRAFT!"£

  • Validating
  • 87 posts
  • LocationBasement

Posted 12 December 2012 - 10:02 AM

View Postluanub, on 12 December 2012 - 09:57 AM, said:

Just as the error says, your not sending the right arguements.
shell.run("pastebin", "get","hLLjTfjz" ,"GUI")

AHHH... works now :D Thank you :)

#6 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 12 December 2012 - 06:56 PM

The formatting. It is burning my eyes. Please, please, format it with the code button.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users