busterdemon Posted June 6, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 93 Reputation: 1 Joined: 06/01/12 Last Seen: July 17, 2013 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
elcontrol00 Posted June 6, 2012 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 236 Reputation: 1 Joined: 04/25/12 Last Seen: December 18, 2018 Share Posted June 6, 2012 How about add this but ask the player if he wants to be broadcasted upon login? Quote Link to comment Share on other sites More sharing options...
busterdemon Posted June 6, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 93 Reputation: 1 Joined: 06/01/12 Last Seen: July 17, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
elcontrol00 Posted June 6, 2012 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 236 Reputation: 1 Joined: 04/25/12 Last Seen: December 18, 2018 Share Posted June 6, 2012 Thanks i was asking to see if he can do that because i would like to use it Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.