Jump to content
  • 0

New Player Announcement


Question

Posted

Hi,

 

 

Hey folks. Just need a bit of your help in scripting. I need a script that announces every new players. (New Novice Accounts) and at the same time a welcome message for those who just logged in.

 

Appreciate your help.

 

 

Thanks.

  • Upvote 1

9 answers to this question

Recommended Posts

Posted

Hello :) 

 

 

Hi,

 

 

Hey folks. Just need a bit of your help in scripting. I need a script that announces every new players. (New Novice Accounts) and at the same time a welcome message for those who just logged in.

 

Appreciate your help.

 

 

Thanks.

 

i would like to ask

 

do you want a specific color for the global message? there are some basic colors like red, blue, yellow, orange, green, white that you can choose o:

also, do you want it to check ip? for example, when a player has many different accounts, for every accoun it won't send the global message

and are you using harmony? this can go a long with the ip check

 

any extra detail that you want to add let us know please (:

Posted

Hello :)

 

 

Hi,

 

 

Hey folks. Just need a bit of your help in scripting. I need a script that announces every new players. (New Novice Accounts) and at the same time a welcome message for those who just logged in.

 

Appreciate your help.

 

 

Thanks.

 

i would like to ask

 

do you want a specific color for the global message? there are some basic colors like red, blue, yellow, orange, green, white that you can choose o:

also, do you want it to check ip? for example, when a player has many different accounts, for every accoun it won't send the global message

and are you using harmony? this can go a long with the ip check

 

any extra detail that you want to add let us know please (:

 

Hi Kido,

 

Thanks for looking up my post. 

 

Well id like the message to be color green and far as IP Check is concern im not really concern about it so i guess not to make it a bit easier. 

 

Thanks.

  • Upvote 1
Posted

Allright, then you can try this, let me know if it works (it should lol)

- script arriving -1,{
OnPCLoginEvent:
if ( !#new_account ) {
announce "Hey "+strcharinfo(0)+" has just arrived! Welcome and have fun!",bc,0x33FF33|bc_all;
#new_account = 1;
}
else
dispbottom "Hello my friend, Welcome to the server, i hope you make a lot of friends and have fun, once more, welcome!!";
end;
}
Posted

I'm so sorry, i just added something that i shouldn't

 

tested and working, use this please

-	script	arriving	-1,{
OnPCLoginEvent:
if ( !#new_account ) {
announce "Hey "+strcharinfo(0)+" has just arrived! Welcome and have fun!",bc,0x33FF33;
dispbottom "Hello my friend, Welcome to the server, i hope you make a lot of friends and have fun, once more, welcome!!";
#new_account = 1;
}
else
end;
}

by the way, did you make sure to tab in the first line?

line 1

-	script	arriving	-1,{

when you copy paste, the tabs does not are copied, so you need to tab manually

-<tab>script<tab>arriving<tab>-1,{

hit tab on your keyboard where it says "<tab>" of course don't include the word "tab" and the " < > " 

 

here is a screen of how it appears (hit the spoiler button. Why? because i love it! well, and because the image is large hehe (:  ):

661k.png

  • Upvote 2

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...