Jump to content

Automaticly declare new functions in Lua prompt!

api lua

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

#1 qwerty

  • Members
  • 49 posts
  • LocationLand of the Pharos

Posted 14 August 2018 - 12:57 PM

Are you sick and tired of having to manually declare new functions every time you enter the lua prompt? I.E.
 function clear()
Well lucky you, because I have the solution for you!
Just create a new file titled "lua" and enter:
Want to auto-clear the screen? Or maybe auto-load comonly used APIs or libraries?
just put anything you want before the run command and boom, it's done!

Only downside is when terminated will exit with 242 instead of "terminate".

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users