Jump to content

Question

Posted

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;

}

5 answers to this question

Recommended Posts

Posted

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;
}

Posted

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!

Posted

@elcontrol00:

- <tab> script <tab> PLogin <tab> -1,{
OnPCLoginEvent: if(select("Broadcast Login:Cancel")==1) announce "The player "+strcharinfo(0)+" has just connected!",0; close;
}

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