Placed Block question

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

GandalfDev

New Member
Jun 2, 2018
5
0
0
24
Hello, skunity community,

It is possible to make a variable that can save the player placed block location and the name of the player that placed that block, so when i right click on that block i can see in chat the location o the block and the owner?

It is possible?
Thanks,
 
Last edited:
Code:
on place of bedrock:
    set {block::%event-block%::%player%} to player
    set {block2::%event-block%} to event-block's location
  
on rightclick on bedrock:
    if {block::%event-block%::*} is set:
        send "&2%{block2::%event-block%}%"
        send "&cOwner: &3%{block::%event-block%::*}%"

It's a bit late but :emoji_slight_smile:
 
Status
Not open for further replies.