B1uscr34m

Teamspeak TS 3 TS3 Plugin LUA Script - Channel Create Init

Jan 11th, 2015
452
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require("ts3init")
  2. require("chancreate/channelCreator")
  3.  
  4. local chancreate = {
  5.     const = {
  6.         MODULE_NAME = "ChanCreator",
  7.         MODULE_FOLDER = "chancreate",
  8.         DEBUG = 0,
  9.         DEBUG_MSG_IN_CHAT = 1,
  10.     },
  11.     var = {},
  12. }
  13.  
  14. local registeredEvents = {
  15.     onConnectStatusChangeEvent = cc_events.onConnectStatusChangeEvent,
  16.     onClientKickFromChannelEvent = cc_events.onClientKickFromChannelEvent
  17. }
  18.  
  19. ts3RegisterModule("chancreate", registeredEvents)
  20.  
  21.     -- createMenus = chancreate.onCreateMenus,
  22.     -- onMenuItemEvent = chancreate.onMenuItemEvent
RAW Paste Data