on region enter: (bugg)

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

Frynoo

Member
Oct 15, 2018
15
2
0
24
When I reload my script it doesn't give any errors. But it dont works.

code_language.skript:
on region enter:
    if "%event-region%" contains "kitpvp":
        wait 2 ticks
        send "test" to player
 
code_language.skript:
on region enter:
    if "%region%" contains "kitpvp":
             #code
 
When I reload my script it doesn't give any errors. But it dont works.

code_language.skript:
on region enter:
    if "%event-region%" contains "kitpvp":
        wait 2 ticks
        send "test" to player

As lego stated:
try broadcast?
If you broadcast it, what shows up?

Also, sometimes you need to wait a tick after entering the region to check the name of the region
 
try on region leave. I had the same problem. Maybe you did write the name wrong?
 
As lego stated:

If you broadcast it, what shows up?

Also, sometimes you need to wait a tick after entering the region to check the name of the region[/QUOTE


It doesn't give errors, but it still doesn't work..
 
When you add a broadcast, what does it broadcast?
Also which version of Spigot are you using?
Which version of Skript are you using?
Which version of WorldGuard are you using?
Please answer all of these without saying "latest"
 
Status
Not open for further replies.