CR Crestfall9 #1 Aug 14, 2018, 12:30 PM Source I've been seeing this pretty much everywhere. What is the purpose of: Code:var Imported = Imported || {};
JO Jonforum #2 Aug 14, 2018, 12:40 PM Source nothing it's a convention between developers to easily manage plugins. It only a simple global variable, you can add what you want in.
AN Andar #3 Aug 14, 2018, 01:03 PM Source Basically it can be used to check which other plugins have already been loaded, to see if requirements of the current plugin are met.
CR Crestfall9 #4 Aug 14, 2018, 01:13 PM Source What the hell I still don't get it. Code:var Imported = Imported || {}; Imported.InsertSomethingHere = true; What is the meaning of this. EDIT: You know what, I just googled the explanation quickly. Should've done this sooner. Always thought it's just RPGMaker thing. Close this thread.