Jump to content
  • 0

Auto MainChannel and New Player Announce


Nitrate

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/10/13
  • Last Seen:  

Can someone please give me a quick script that automatically joins you to #main channel when you log-in.

something that automatically runs "@channel join #main" when you log-in.

 

 

And also something that announces when a new player first time log-in in the server.

something that checks if you are a novice level 1, and if you are, lets say zero on #newplayer variable.

if you are, it announces "Welcome (char name) to rAthenaRO!".

and then it sets the variable to 1 so it doesnt trigger again when make new novices.

 

Thank you!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  


- script main -1,{

OnPCLoginEvent:

atcommand "@channel join #main";

if(!#newplayer) announce "Welcome "+strcharinfo(0)+" to rAthenaRO",bc_all;

#newplayer = 1;

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/10/13
  • Last Seen:  

-	script	main	-1,{

OnPCLoginEvent:
	atcommand "@channel join #main";
	if(!#newplayer) announce "Welcome "+strcharinfo(0)+" to rAthenaRO",bc_all;
	#newplayer = 1;
	end;

}

 

Thank you very much. Much appreciated <3

Link to comment
Share on other sites

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.

×
×
  • Create New...