Simple Skript To Be Edited

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

Computerize

Member
Oct 10, 2019
38
0
0
23
Hi, can someone please change the following Skript so that it does not work (the same way the permission makes it stop) if the region the player is in contains the words "event" "spawn" or "cell".

If you cannot do this then I can always list the regions, but please show me how I can do this.

Thanks


on place:
if player has permission "blockedup.bypass":
stop
else:
wait 3 minutes
if event-block is oak log:
set event-block to air
if event-block is oak planks:
set event-block to air
if event-block is oak slab:
set event-block to air
if event-block is oak stairs:
set event-block to air
if event-block is ladder:
set event-block to air
if event-block is oak sign:
set event-block to air
if event-block is oak button:
set event-block to air
if event-block is oak pressure plate:
set event-block to air
if event-block is oak fence:
set event-block to air
if event-block is oak fence gate:
set event-block to air
if event-block is cobblestone:
set event-block to air
if event-block is stone:
set event-block to air
if event-block is cobblestone slab:
set event-block to air
if event-block is cobblestone stairs:
set event-block to air
if event-block is cobblestone wall:
set event-block to air
if event-block is stone button:
set event-block to air
if event-block is barrel:
set event-block to air
if event-block is iron ore:
set event-block to air
if event-block is lapis ore:
set event-block to air
if event-block is lapis block:
set event-block to air
if event-block is diamond ore:
set event-block to air
if event-block is emerald ore:
set event-block to air
if event-block is redstone ore:
set event-block to air
if event-block is oak log:
set event-block to air
 
Does this work? Every tab is 4 spaces
on place:
if player has permission "blockedup.bypass":
stop
else:
wait 3 minutes
if event-block is oak log:
set event-block to air
if event-block is oak planks:
set event-block to air
if event-block is oak slab:
set event-block to air
if event-block is oak stairs:
set event-block to air
if event-block is ladder:
set event-block to air
if event-block is oak sign:
set event-block to air
if event-block is oak button:
set event-block to air
if event-block is oak pressure plate:
set event-block to air
if event-block is oak fence:
set event-block to air
if event-block is oak fence gate:
set event-block to air
if event-block is cobblestone:
set event-block to air
if event-block is stone:
set event-block to air
if event-block is cobblestone slab:
set event-block to air
if event-block is cobblestone stairs:
set event-block to air
if event-block is cobblestone wall:
set event-block to air
if event-block is stone button:
set event-block to air
if event-block is barrel:
set event-block to air
if event-block is iron ore:
set event-block to air
if event-block is lapis ore:
set event-block to air
if event-block is lapis block:
set event-block to air
if event-block is diamond ore:
set event-block to air
if event-block is emerald ore:
set event-block to air
if event-block is redstone ore:
set event-block to air
if event-block is oak log:
set event-block to air
 
Hey, thanks but I posted if you could help me disable the skript in certain regions that contain a word or just let me list those regions that I want it to be disabled in.
 
Your Code is too long then use this
Code:
on place:
    if player isn't in world "nameofworld":
        stop
    else:
        if player has permission "blockedup.bypass":
            if event-block is oak log, redstone ore, emerald ore, diamond ore, lapis block, lapis ore, iron ore, barrel ,stone button, cobblestone wall, cobblestone stairs, cobblestone stairs, cobblestone slab, stone, cobblestone, oak fence gate, oak fence, oak pressure plate, oak button, oak sign, ladder , oak stairs, oak slab, oak planks, oak log:
                cancel event