Self Updating Package Script

Share your scripts and packages with other Mudlet users.
icesteruk
Posts: 287
Joined: Sun Jan 20, 2013 9:16 pm

Re: Self Updating Package Script

Post by icesteruk »

fetaera wrote:Just display the package.loaded table for that info.

Sorry for the late reply but, What do you mean? .. that just shows all my triggers/alias/scripts etc :/

icesteruk
Posts: 287
Joined: Sun Jan 20, 2013 9:16 pm

Re: Self Updating Package Script

Post by icesteruk »

sorry for the double post but what AM I looking for in 'package.loaded'??

herbert
Posts: 16
Joined: Mon May 11, 2015 4:47 pm

Re: Self Updating Package Script

Post by herbert »

does anyone happen to know how these work?

User avatar
fstltna
Posts: 29
Joined: Tue Oct 07, 2014 7:19 am
Location: South San Francisco, CA
Discord: MarisaG#2083
Contact:

Re: Self Updating Package Script

Post by fstltna »

Can i pay someone $25 to set this up for me? Im a little lost at what i need to do...
---- https://PocketMud.com - full-featured CoffeeMUD hosting - $14/month with first month free
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium

User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Self Updating Package Script

Post by SlySven »

@icesteruk: typing in "lua display(package.loaded)" in the Mudlet command line will show pretty much everything that the lua system has stored, including lua system libraries such as the lua file system library a.k.a. "lfs"), the "global" table "_G", the lua commands that Mudlet provides for you (mainly coded in the, um, somewhat meaty source ./src/TLuaInterpreter.cpp file). Needless to say, removing the wrong thing, by setting the value to nil and allowing the garbage collection to do its work, can stop things from working, so the other posters' systems have ways of "blacklisting" or otherwise telling their code "please don't touch those things"...

Post Reply