GMynna Posted September 22, 2014 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
GMynna Posted September 23, 2014 Author Posted September 23, 2014 Use OnPCLoginEvent: how do i do that?? step by step ? thank you Quote
Antares Posted September 23, 2014 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
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
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.