my skript not work

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

JeradMC

New Member
May 21, 2023
6
0
1
On death:
attacker is a player
victim is a player
if "%region at attacker%" contains "nethpot":
console command "kit nethpot %attacker%"
 
what exactly works/doesn't work?
you're literally no details here bud.

Also, please send the output of `/sk info`
 
  • Like
Reactions: Luke_Sky_Walker
[06:50:06 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[06:50:06 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[06:50:06 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[06:50:06 INFO]: [Skript] Server Version: git-Paper-388 (MC: 1.18.2)
[06:50:06 INFO]: [Skript] Skript Version: 2.7.0-beta3 (skriptlang-github)
[06:50:06 INFO]: [Skript] Installed Skript Addons: None
[06:50:06 INFO]: [Skript] Installed dependencies:
[06:50:06 INFO]: [Skript] - WorldGuard v7.0.7+216b061
what exactly works/doesn't work?
you're literally no details here bud.

Also, please send the output of `/sk info`
 
On death:
attacker is a player
victim is a player
if "%region at attacker%" contains "nethpot":
console command "kit nethpot %attacker%"

skript works fine until I put this line in
if "%region at attacker%" contains "nethpot":
 
what exactly works/doesn't work?
you're literally no details here bud.

Also, please send the output of `/sk info`
can u create skript, If the player kills another person in the specified area, a certain command will be executed, but if the player is outside that area, the player will not execute any command ?