Jump to content




Command Block Api Issues


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

#1 Inumel

  • Members
  • 120 posts

Posted 24 August 2013 - 06:52 PM

Hello! I am having issues with a program regarding command blocks.

First off, I would like to say that the config in the severs is enabled, and the config in CC itself is enabled

Here is my program http://pastebin.com/JK16E0mS .

Tt was working until I restarted my server.. Now its giving me "startup:7: attempt to call nil" Like its not even detecting the command block is there anymore!

My in-game setup is a computer, with a chatbox on the top, and a command block on the left


When the player says "takemehome" in chat, its supposed to teleport the player to those specified coordinates, from any world/dimension

Any help would be greatly appreciated
Small derp, I moved the wrap for the chat box outside of the while look

#2 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 25 August 2013 - 03:44 AM

Try sleeping a few seconds at the start of the program (before wrapping the peripheral)

#3 Inumel

  • Members
  • 120 posts

Posted 25 August 2013 - 08:06 AM

Worked perfectly. Thanks, Immibis!

#4 Inumel

  • Members
  • 120 posts

Posted 25 August 2013 - 03:59 PM

Now happening again. Ill just tick that up to a bug and figure something else out..





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users