Hello!
I'm on a new Plugin for my Teamspeak Bot. Is there a possibility to get the ID of the last created Channel, made with
flushChannelCreation();
?
I need it to switch Users into it.
greetings!
We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020
Hello!
I'm on a new Plugin for my Teamspeak Bot. Is there a possibility to get the ID of the last created Channel, made with
flushChannelCreation();
?
I need it to switch Users into it.
greetings!
Hm either cache the amount of channels or name of the target, then act onNewChannelCreated if it is met, and reset the variable.
Event callback might be slightly different, on the road.
how should i filter the new channel id then? :-O
You use either the channel amount Counter or compare the newly created channels Name with the one you saved. if it matches, there's your channelid.
alternatively use a properly created returncode on the flush and if onservererror error_ok getchannelidfromchannelnames.
Last edited by Philosound; July 30th, 2013 at 03:54 PM.
oh. it wasnt even that hard ^^
thank you very much
There are currently 1 users browsing this thread. (0 members and 1 guests)