Brahms Posted December 3, 2018 Group: Members Topic Count: 48 Topics Per Day: 0.02 Content Count: 149 Reputation: 3 Joined: 07/29/16 Last Seen: August 6, 2019 Share Posted December 3, 2018 (edited) Sorry if i posted in a worng section. Just want to ask if theres a way to configure auto join in #map channel to specific areas, like auto join in Towns Only?? Thank you in advance.. Edited December 3, 2018 by Brahms Quote Link to comment Share on other sites More sharing options...
1 n0tttt Posted December 4, 2018 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 303 Reputation: 118 Joined: 12/10/16 Last Seen: Yesterday at 05:28 AM Share Posted December 4, 2018 /** * Channel config for map channel * For the structure, see the 'channels' above **/ map: { name: "#map" alias: "[Map]" color: "Yellow" type: "CHAN_TYPE_MAP" // DO NOT CHANGE THIS VALUE delay: 1000 autojoin: false leave: true chat: true } conf/channels.conf autojoin: true Now, if you want to make it by script: - script Channel_Town -1,{ OnInit: setarray .@maps$[0], "prontera","alberta","aldebaran","amatsu","ayothaya","brasilis","comodo","dewata", "ecl_in01","einbech","einbroch","dicastes01","geffen","gonryun","hugel","izlude", "jawaii","lasagna","lighthalzen","louyang","xmas","malangdo","malaya","manuk", "mid_camp","mora","morocc","moscovia","nameless_n","niflheim","payon","rachel", "splendide","thor_camp","umbala","veins","yuno"; for(.@size = getarraysize(.@maps$);.@i < .@size;.@i++) setmapflag .@maps$[.@i],mf_loadevent; end; OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_town)) atcommand "@join #map"; end; } Quote Link to comment Share on other sites More sharing options...
0 Brahms Posted December 4, 2018 Group: Members Topic Count: 48 Topics Per Day: 0.02 Content Count: 149 Reputation: 3 Joined: 07/29/16 Last Seen: August 6, 2019 Author Share Posted December 4, 2018 15 minutes ago, n0tttt said: /** * Channel config for map channel * For the structure, see the 'channels' above **/ map: { name: "#map" alias: "[Map]" color: "Yellow" type: "CHAN_TYPE_MAP" // DO NOT CHANGE THIS VALUE delay: 1000 autojoin: false leave: true chat: true } conf/channels.conf autojoin: true Now, if you want to make it by script: - script Channel_Town -1,{ OnInit: setarray .@maps$[0], "prontera","alberta","aldebaran","amatsu","ayothaya","brasilis","comodo","dewata", "ecl_in01","einbech","einbroch","dicastes01","geffen","gonryun","hugel","izlude", "jawaii","lasagna","lighthalzen","louyang","xmas","malangdo","malaya","manuk", "mid_camp","mora","morocc","moscovia","nameless_n","niflheim","payon","rachel", "splendide","thor_camp","umbala","veins","yuno"; for(.@size = getarraysize(.@maps$);.@i < .@size;.@i++) setmapflag .@maps$[.@i],mf_loadevent; end; OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_town)) atcommand "@join #map"; end; } Thank you again for helping me... Godbless Quote Link to comment Share on other sites More sharing options...
Question
Brahms
Sorry if i posted in a worng section. Just want to ask if theres a way to configure auto join in #map channel to specific areas, like auto join in Towns Only??
Thank you in advance..
Edited by BrahmsLink to comment
Share on other sites
2 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.