mightyryan Posted October 17, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 69 Reputation: 2 Joined: 10/03/12 Last Seen: November 4, 2015 Share Posted October 17, 2012 Hi, can somebody help me about a script like, if there is a new player found by the NPC, it will announce " Lets give a warm welcome for "Name" as (he if boy, she if Girl) is new to the server bla bla bla." Please thanks Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 17, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 17, 2012 OnPCLoginEvent: if (#Welcome == 0) { announce "Welcome " + strcharinfo(0) + " to our server!",bc_all; set #Welcome, 1; end; } Quote Link to comment Share on other sites More sharing options...
mightyryan Posted October 17, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 69 Reputation: 2 Joined: 10/03/12 Last Seen: November 4, 2015 Author Share Posted October 17, 2012 thanks, I will try this. not working, what should I add, because I want an npc that will only announce the player once , when He/she is new to the server. Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted October 17, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 17, 2012 It is now a complete script lol, just the function. You will need a NPC header. - script HiddenWelcome -1,{ OnPCLoginEvent: if (#Welcome == 0) { announce "Welcome " + strcharinfo(0) + " to our server!",bc_all; set #Welcome, 1; end; } } Quote Link to comment Share on other sites More sharing options...
mightyryan Posted October 18, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 69 Reputation: 2 Joined: 10/03/12 Last Seen: November 4, 2015 Author Share Posted October 18, 2012 thanks sorry for the late reply Quote Link to comment Share on other sites More sharing options...
Question
mightyryan
Hi, can somebody help me about a script like, if there is a new player found by the NPC, it will announce " Lets give a warm welcome for "Name" as (he if boy, she if Girl) is new to the server bla bla bla."
Please thanks
Link to comment
Share on other sites
4 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.