region enter on two

  • 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 community!

    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!

Shap1n

Member
Jan 10, 2025
15
1
3
Is it possible to make a skript that detects if a specified nuymber of people enter,like two people enter a region and a command runs after it?
 
I tried making it but it doesnt work,it still msgs me and my friend even if only one enters:

on region enter:
wait 2 ticks
if "%region at player%" contains "1v1":
if {playersinregion} is 2:
make console execute command "/msg swordenn works"
make console execute command "/msg shap1n works"
else if:
cancel