Jump to content
  • 0

help @ #main


Question

Posted

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

 

post-28448-0-09376200-1411394857_thumb.jpg

3 answers to this question

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...