```
on rightclick holding diamond axe:
if name of tool of player is "&cred_colored" or "&ablue_color" or "&aiamgreener":
if targeted block is log or plank:
cancel event
send "&cyou cant do that"
stop
```
Hi everyone, I found this script on google to prevent a player from using an edited diamond axe to shell out a tree log or planks, because if he did, there would be a bug that would dupe that axe. (So that script works very well!)
I'd like to know if anyone could and would do a free script similarly to prevent someone from putting a renamed enchanted_book (just like that axe on the example) into a grindstone (new minecraft container to remove book enchants). It is possible but I do not know the code in skript for this. Would someone help me please?
on rightclick holding diamond axe:
if name of tool of player is "&cred_colored" or "&ablue_color" or "&aiamgreener":
if targeted block is log or plank:
cancel event
send "&cyou cant do that"
stop
```
Hi everyone, I found this script on google to prevent a player from using an edited diamond axe to shell out a tree log or planks, because if he did, there would be a bug that would dupe that axe. (So that script works very well!)
I'd like to know if anyone could and would do a free script similarly to prevent someone from putting a renamed enchanted_book (just like that axe on the example) into a grindstone (new minecraft container to remove book enchants). It is possible but I do not know the code in skript for this. Would someone help me please?
Last edited: