KwDispatcher.RegDEvent

This method adds a function to an Event handler.

Arguments

 * addonName
 * string - The name of your addon.
 * func
 * function - The function is added to the Event handler.
 * events
 * table - Table of events which are conected to the function.

Returns

 * nil
 * void - A method call without return value.

Example
function OnEvent(event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) --do something end

kwDispatcher.RegDEvent("Example",OnEvent,{"VARIABLES_LOADED"})