Jump to content
  • 0

Broadcast Newly Created Player with Welcome


nobukadnezar

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

/bo Hi folks,

Anyone have idea how to give broadcast welcome message to newly created char?

With their name of course

Regards, Me

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

OnPCLoginEvent:
if( Class == Job_Novice && !BaseExp ){
   announce " "+strcharinfo(0)+" joined server.",0;
   set BaseExp,1;
}
end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

And to build upon Emistry's excellent excerpt, should you/your players desire it to only broadcast once per account..

OnPCLoginEvent:
if( Class == Job_Novice && !BaseExp && !#newchar){
announce " "+strcharinfo(0)+" joined server.",0;
set BaseExp,1;
   set #newchar,1;
}
end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  163
  • Reputation:   7
  • Joined:  01/07/12
  • Last Seen:  

Superb. Thanks @emistry you are genius!

@jTynne ah i see adding 1 more variable for newly created Account,

Thank you guys. Solved~

Edited by nobukadnezar
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   0
  • Joined:  12/13/12
  • Last Seen:  

Btw make a npc for this script? or?

I try putting as a npc script but nothing pops out when i come in for the first time

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

You can use a floating NPC as header.

-(TAB)script(TAB)Greet(TAB)-1,{
end;
OnPCLoginEvent:
if(Class == Job_Novice && !BaseExp){
announce " "+strcharinfo(0)+" joined server.",0;
set BaseExp,1;
}
end;
}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   0
  • Joined:  12/13/12
  • Last Seen:  

Thanks alot! it works!

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