busterdemon Posted June 6, 2012 Posted June 6, 2012 Hello Rathena, I wont be able to test this script for a while and I was wondering if it would work. Its a script that auto broadcast the login of a player when he logs in game. prontera,0,0,0 script PLogin -1,{announce "The player "+strcharinfo(0)+" has just connected",16; end; } Quote
Euphy Posted June 6, 2012 Posted June 6, 2012 You're missing the event trigger, and you don't need to include map coordinates. - <tab> script <tab> PLogin <tab> -1,{ OnPCLoginEvent: announce "The player "+strcharinfo(0)+" has just connected!",0; end; } Quote
elcontrol00 Posted June 6, 2012 Posted June 6, 2012 How about add this but ask the player if he wants to be broadcasted upon login? Quote
busterdemon Posted June 6, 2012 Author Posted June 6, 2012 You're missing the event trigger, and you don't need to include map coordinates. - <tab> script <tab> PLogin <tab> -1,{ OnPCLoginEvent: announce "The player "+strcharinfo(0)+" has just connected!",0; end; } Thank you very much sir! How about add this but ask the player if he wants to be broadcasted upon login? Im just practissing scripting! Quote
Euphy Posted June 6, 2012 Posted June 6, 2012 @elcontrol00: - <tab> script <tab> PLogin <tab> -1,{ OnPCLoginEvent: if(select("Broadcast Login:Cancel")==1) announce "The player "+strcharinfo(0)+" has just connected!",0; close; } Quote
elcontrol00 Posted June 6, 2012 Posted June 6, 2012 Thanks i was asking to see if he can do that because i would like to use it Quote
Question
busterdemon
Hello Rathena, I wont be able to test this script for a while and I was wondering if it would work.
Its a script that auto broadcast the login of a player when he logs in game.
5 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.