hey i am writing a script to automate channel creation.
my script is working but the bot starts creates the channel from bootem.
normaly it should look like this
channel1
channel2
channel3
my but do
channel3
channel2
channel1
and i dont understand why.
here is the channel creation part:
i also tried ChannelPosition+1 but it doesnt work
my script is working but the bot starts creates the channel from bootem.
normaly it should look like this
channel1
channel2
channel3
my but do
channel3
channel2
channel1
and i dont understand why.
here is the channel creation part:
JavaScript:
var create = backend.createChannel({
name: ChannelNameFinish,
parent: "0",
position: ChannelPosition,
permanent: true,
codec: parseInt(ChannelCodec),
codecQuality: parseInt(parseInt(ChannelQuality)),
maxClients: parseInt(ChannelMaxClients),
description: ChannelDescription
});
i also tried ChannelPosition+1 but it doesnt work