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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
on region enter:
if "%region at player%" is "cafe"
message "Welcome back to %region%!"
send "%player% just entered %region%!" to all members of the region
Are there any other options?Check for the region at the player in that event. Think you can do it like this but not 100% sure.
Code:on region enter: if "%region at player%" is "region-name": # do stuff
What kind of other option would you want? The one Aawqq gave is what you asked for.Code:on region enter: if "%region at player%" is "cafe" message "Welcome back to %region%!" send "%player% just entered %region%!" to all members of the region
Are there any other options?
the option that they gave me does not workWhat kind of other option would you want? The one Aawqq gave is what you asked for.
the option that they gave me does not work
errorDoes not working meaning any errors or no errors and it just doesn't work?
error
"Can't compare 'if "%region at player%" with a text (biz.sk, line 2: if "%region at player%" is "cafe")
really? I got 0 errors when using that. What was your full skript?
on region enter:
if "%region at player%" is "cafe"
message "Welcome back to %region%!"
send "%player% just entered %region%!" to all members of the region
Code:on region enter: if "%region at player%" is "cafe" message "Welcome back to %region%!" send "%player% just entered %region%!" to all members of the region
on region enter:
if "%region at player%" is "cafe":
message "Welcome back to %region%!"
send "%player% just entered %region%!" to all members of the region
there is no error but the script itself does not work what it was asked to doYou didn't indent correctly.
Code:on region enter: if "%region at player%" is "cafe": message "Welcome back to %region%!" send "%player% just entered %region%!" to all members of the region
:/You didn't indent correctly.
Code:on region enter: if "%region at player%" is "cafe": message "Welcome back to %region%!" send "%player% just entered %region%!" to all members of the region