GMynna Posted September 22, 2014 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 58 Reputation: 1 Joined: 08/23/14 Last Seen: October 29, 2014 Share Posted September 22, 2014 can anyone help me about #main... i need a script when a player login . they will automatically join in #main or #trade .. they dont need to type #main to see the messages. like this screenshot Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted September 22, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share Posted September 22, 2014 Use OnPCLoginEvent: Quote Link to comment Share on other sites More sharing options...
GMynna Posted September 23, 2014 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 58 Reputation: 1 Joined: 08/23/14 Last Seen: October 29, 2014 Author Share Posted September 23, 2014 Use OnPCLoginEvent: how do i do that?? step by step ? thank you Quote Link to comment Share on other sites More sharing options...
Antares Posted September 23, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 420 Reputation: 89 Joined: 01/30/12 Last Seen: April 29, 2023 Share Posted September 23, 2014 We use this script, add/alter as you wish: - script #channel_autojoin -1,{ OnPCLoginEvent: atcommand "@join #support"; atcommand "@join #trade"; atcommand "@join #main"; end; } To add: copy the above code in a .txt file like: mainchat_autojoin.txt place the file in your npc/custom/ folder (or any, or no folder inside npc/) open npc/scripts_custom.conf in any text editor (notepad) and add the next new line to the end (use the path where you saved your script): npc: npc/custom/mainchat_autojoin.txt save & close if the server is running use atcommand @reloadscript done Quote Link to comment Share on other sites More sharing options...
Question
GMynna
can anyone help me about #main... i need a script when a player login . they will automatically join in #main or #trade .. they dont need to type #main to see the messages. like this screenshot
Link to comment
Share on other sites
3 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.