Eross Posted May 14, 2021 Group: Members Topic Count: 166 Topics Per Day: 0.09 Content Count: 377 Reputation: 12 Joined: 04/05/20 Last Seen: 2 hours ago Share Posted May 14, 2021 Hi! Is it just on me or is atcommand "@channel leave #main" not working ??? Please enlighten me Quote Link to comment Share on other sites More sharing options...
0 mrfizi Posted May 14, 2021 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 383 Reputation: 78 Joined: 10/30/12 Last Seen: March 17 Share Posted May 14, 2021 Add the permission for player on groups.conf channel: true On your channels.conf , check this on #main leave: false change false to true leave: true @reloadatcommand in game or restart your server. Quote Link to comment Share on other sites More sharing options...
0 Eross Posted May 15, 2021 Group: Members Topic Count: 166 Topics Per Day: 0.09 Content Count: 377 Reputation: 12 Joined: 04/05/20 Last Seen: 2 hours ago Author Share Posted May 15, 2021 On 5/15/2021 at 1:32 AM, mrfizi said: Add the permission for player on groups.conf channel: true hi! its still not working On 5/15/2021 at 6:22 PM, mrfizi said: @reloadatcommand in game or restart your server. yes sir its working when I type it as a command @channel leave #main ... but when I add it on npc as 'atcommand "@channel leave #main" ' its not working Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted May 15, 2021 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 11 hours ago Share Posted May 15, 2021 3 hours ago, Origami said: yes sir its working when I type it as a command @channel leave #main ... but when I add it on npc as 'atcommand "@channel leave #main" ' its not working better use script command *channel_kick "<chname>",<char_id>; *channel_kick "<chname>","<char_name>"; Kick player from a public or private channel. Channel's owner or group with PC_PERM_CHANNEL_ADMIN cannot be kicked. Returns 1 on success. Quote Link to comment Share on other sites More sharing options...
0 Eross Posted May 23, 2021 Group: Members Topic Count: 166 Topics Per Day: 0.09 Content Count: 377 Reputation: 12 Joined: 04/05/20 Last Seen: 2 hours ago Author Share Posted May 23, 2021 Hello rAthena comm.. I recently noticed that 'atcommand "@channel leave #<channel>";' is not working on scripts ... Can I request for a script command that will leave player on a channel ?? like @chanleave etc ..thanks Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted May 23, 2021 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 11 hours ago Share Posted May 23, 2021 3 hours ago, Origami said: Hello rAthena comm.. I recently noticed that 'atcommand "@channel leave #<channel>";' is not working on scripts ... Can I request for a script command that will leave player on a channel ?? like @chanleave etc ..thanks Use this *channel_kick "<chname>",<char_id>; *channel_kick "<chname>","<char_name>"; Kick player from a public or private channel. Channel's owner or group with PC_PERM_CHANNEL_ADMIN cannot be kicked. Returns 1 on success. Quote Link to comment Share on other sites More sharing options...
0 Eross Posted May 24, 2021 Group: Members Topic Count: 166 Topics Per Day: 0.09 Content Count: 377 Reputation: 12 Joined: 04/05/20 Last Seen: 2 hours ago Author Share Posted May 24, 2021 (edited) On 5/24/2021 at 12:19 AM, LearningRO said: Use this *channel_kick "<chname>",<char_id>; *channel_kick "<chname>","<char_name>"; Kick player from a public or private channel. Channel's owner or group with PC_PERM_CHANNEL_ADMIN cannot be kicked. Returns 1 on success. How?? Like this ? ~~> channel_kick "#main",getcharid(0); or as atcommand "channel_kick #main" ??? Thanks ! channel_kick "#main",getcharid(0); ~> this one, nothing happens hehe I tried to make a script that will automatically turn off channel on login ... but somethings strange happens every time I login that char other player gets a ?? on their chat Quote OnPCLoginEvent: sleep2 1000; if (#login&256) sleep2 1000; channel_kick "#main",strcharinfo(0); if (#login&512) sleep2 1000; channel_kick "#trade",strcharinfo(0); if (#login&1024) sleep2 1000; channel_kick "#party",strcharinfo(0); Edited May 24, 2021 by Origami Quote Link to comment Share on other sites More sharing options...
Question
Eross
Hi! Is it just on me or is atcommand "@channel leave #main" not working ??? Please enlighten me
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.