Closed DasMonschta closed 5 years ago
You need to use ts3lib.createReturnCode()
and
onServerErrorEvent()
/ onServerPermissionErrorEvent
so. i create a global var and with onServerPermissionErrorEvent i check for the returncode and set my global var?
i will try it
yes, best to create a list in case something doesn't arrive before the next
cant follow you with the list ^^
returncodes = [] def whereineedthem(): ret = ts3lib.createReturnCode() returncodes.add(ret) Bla(id, ret)
def onerror(ret): if not ret in returncodes: return returncodes.remove(ret)
sneaky
error = ts3lib.requestClientKickFromChannel(...)
error is always 0 even if the client has no rights to perform the kick action.
same with requestSetClientChannelGroup()