PyroManiac
New Member
Ok so first of all please correct me if I am posting in the wrong section. Help is much appreciated! So I am currently developing a script and I cannot figure out why this doesn't work. This is the function I used in order to create the channel along with the syntax:
channelCreate({ name: "TEST STUFF", parent: 0, perm: 1, position: 589, codec: Number(ChannelCodec), quality: Number(ChannelQuality) + 1, description: ChannelDescription});
I believe the position is supposed to be the id of the channel it's supposed to be below? I also tried the channel.moveTo(0, 589) (with channel being equal to backend.getChannelByName("TEST STUFF")) but that also didn't work along with changing the "position: 589" part to "order: 589" in the channelCreate() function with no result. Help will be much loved <3
channelCreate({ name: "TEST STUFF", parent: 0, perm: 1, position: 589, codec: Number(ChannelCodec), quality: Number(ChannelQuality) + 1, description: ChannelDescription});
I believe the position is supposed to be the id of the channel it's supposed to be below? I also tried the channel.moveTo(0, 589) (with channel being equal to backend.getChannelByName("TEST STUFF")) but that also didn't work along with changing the "position: 589" part to "order: 589" in the channelCreate() function with no result. Help will be much loved <3