idea for a powered element

  • BloodLust
    1st Nov 2011 Member 0 Permalink
    @cctvdude99 (View Post)

    yea but as im aware there arnt any commands in the tpt console that can affect the file on your computer

    unless some1 finds a way to use commands to rewrite the commands :P
  • Colton-Bates
    1st Nov 2011 Member 0 Permalink
    It could just use the Python part, as opposed to lua, at least until we figure out how to moderate the 'evil' lua commands. It would bring down the usefulness, but I think that if it were taken into effect, it would yield some pretty awesome saves. It might even be fairly easy to write a parser such that it won't execute any harmful commands. (Not volunteering)
  • cctvdude99
    1st Nov 2011 Member 0 Permalink
    @BloodLust (View Post)
    Facepalm - Any Lua command will work.
    Example: Create a 'New Text File/Document' called 'delete' in your TPT directory. Go to TPT's console, type in: os.remove("delete.txt")
    The file will be deleted. :)
  • egezort
    1st Nov 2011 Member 0 Permalink
    @cctvdude99 (View Post)
    Man it will be only commands with ''!'' expect for ''!quit''
    And I need something to turn water equalization is there a command with ''!'' to do that