loop {blocks.%player%::*}:
if loop-value = location of event-block:
if event-block is white glazed terracotta:
If event-block's facing is north:
drop 1 white glazed terracotta named "&aTopaz Block" at location of event-block
remove event-block's location from {blocks.%player%::*}
remove 1 from {blocks.%player%}
If event-block's facing is west:
drop 1 white glazed terracotta named "&aRuby Block" at location of event-block
remove event-block's location from {blocks.%player%::*}
remove 1 from {blocks.%player%}```
the facing north part of the skript works but not the facing west part
#I can't use facing west but facing north works for some reason...
1 messages · Page 1 of 1 (latest)
Always use list variables; never separate with a .
Why loop the list?
Just check if the list contains x
- the . dont affect anything. 2. i needa loop the list cuz theres gunna be multiple locations in the variable
also some of the asterisks disapeared to make it ittalic cuz discord
C o d e b l o c k s
No, still no need to loop, you’re only checking for the event-loc
Its still a good idea to always use :: even if its not absolutely necessary
ok
Also event-loc not loc of event-block
ok ty