Jump to content




Current File


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

#1 Sxw

  • Members
  • 306 posts
  • LocationWhenever, Wherever!

Posted 02 August 2012 - 04:40 AM

Is it possible to get the location of the file that is being ran? Sorry if this is vauge.

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 02 August 2012 - 04:47 AM

shell.getRunningProgram()

#3 ChiknNuggets

  • Members
  • 130 posts

Posted 02 August 2012 - 04:47 AM

this is actually quite easy there is a function for this in the shell API,

shell.getRunningProgram()


#4 Sxw

  • Members
  • 306 posts
  • LocationWhenever, Wherever!

Posted 02 August 2012 - 04:49 AM

Wow, quick reply, THANKS!





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users