Plugin Description
#8
I think it's easier to actually do things like I do - put all the commands in a table, with their handlers, permissions, help and anything else needed, and then use a simple for-loop to register the commands, another for-loop for printing the detailed help... Add another table around it, wrapping this into its Commands member, and adding a PluginDescription member, PluginName and PluginVersion, and you have exactly the info file that ThuGie wants:
g_PluginInfo =
{
  Name = "MySuperPlugin",
  Version = "0.1a",
  Date = "2013_12_29",
  Description = [[
    This plugin is super, because it has a proper info file and everything!
  ]]
  Commands =
  {
    Command1 = { ... },
    Command2 = { ... },
  },
}
Reply
Thanks given by:


Messages In This Thread
Plugin Description - by ThuGie - 12-29-2013, 06:48 AM
RE: Plugin Description - by xoft - 12-29-2013, 06:52 AM
RE: Plugin Description - by ThuGie - 12-29-2013, 06:54 AM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 07:00 AM
RE: Plugin Description - by xoft - 12-29-2013, 07:53 AM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 08:44 AM
RE: Plugin Description - by SamJBarney - 12-29-2013, 08:02 AM
RE: Plugin Description - by xoft - 12-29-2013, 06:21 PM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 10:48 PM
RE: Plugin Description - by xoft - 12-29-2013, 10:54 PM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 10:57 PM
RE: Plugin Description - by xoft - 12-29-2013, 11:43 PM
RE: Plugin Description - by NiLSPACE - 12-29-2013, 11:51 PM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 01:20 AM
RE: Plugin Description - by xoft - 12-30-2013, 03:31 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 03:57 AM
RE: Plugin Description - by xoft - 12-30-2013, 04:33 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 04:38 AM
RE: Plugin Description - by xoft - 12-30-2013, 05:36 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 05:38 AM
RE: Plugin Description - by xoft - 12-30-2013, 05:42 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 05:45 AM
RE: Plugin Description - by xoft - 12-30-2013, 06:08 AM
RE: Plugin Description - by NiLSPACE - 12-30-2013, 06:15 AM
RE: Plugin Description - by xoft - 12-30-2013, 06:19 AM
RE: Plugin Description - by ThuGie - 12-30-2013, 08:31 PM
RE: Plugin Description - by xoft - 01-05-2014, 05:33 AM
RE: Plugin Description - by ThuGie - 01-05-2014, 08:14 AM
RE: Plugin Description - by NiLSPACE - 01-05-2014, 08:41 AM
RE: Plugin Description - by ThuGie - 01-05-2014, 09:17 AM
RE: Plugin Description - by xoft - 01-05-2014, 11:55 PM
RE: Plugin Description - by xoft - 01-06-2014, 01:21 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 01:42 AM
RE: Plugin Description - by xoft - 01-12-2014, 02:53 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 03:05 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 07:19 AM
RE: Plugin Description - by xoft - 01-12-2014, 08:12 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 08:19 AM
RE: Plugin Description - by xoft - 01-12-2014, 08:23 AM
RE: Plugin Description - by NiLSPACE - 01-12-2014, 08:25 AM
RE: Plugin Description - by xoft - 01-12-2014, 08:28 AM



Users browsing this thread: 12 Guest(s)