If player joins event

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ConLudi

Member
Jan 23, 2020
43
0
0
45
Is there an "If player joins" and "if player is"

For example:

on join
if player is "Player"

Thanks.
[doublepost=1585100428,1585100262][/doublepost]Oh and, is there a first player join event for players that have joined?

I want to send something but for the first time they join when the Skript was made?

Example:

on join
if player is "Player"
execute console command "book send Player retirement"

Thanks (I'm trying to make a book where when people retire they see a book, but only for the time they join when the Skript was made.)
[doublepost=1585100684][/doublepost]Version: 2.2-dev25
[doublepost=1585101457][/doublepost]Actually, is there a "When player is online" event?
 
Hey hopefully this helps, be sure to use the docs and google to search for answers and clues. Anyway, here's a very basic example of what you're asking for, good luck.

Code:
# Basic 'on join' event, checking the player's username, then do stuff if it is them
# See https://docs.skunity.com/syntax/search/on%20join
on join:
    if player is "Selvati":
        send "Hi, Selvati!"
        
# Basic 'on first join' event, this does stuff only the very first time a player joins the server
# See https://docs.skunity.com/syntax/search/on%20first%20join
on first join:
    broadcast "Welcome %player% to the server!"
 
Yes, But is there a When player is only?
[doublepost=1585109046,1585108754][/doublepost]Is there a when player is online event where and it won't do it again?
 
Status
Not open for further replies.