So the thing is that i made a auto sell mining script.
But the thing is that it spams whenever i mine a block (because i did so it would send you a message of the money you earned.)
But the thing is that i only want the message sometimes.
For example like whenever i mined 4 blocks it says that i earned something so your chat doens't gets over spammed!
This is maybe a little confusion but i hope you guys understand it!
on break of stone:
if player has permission "normal":
cancel event
set event-block to air
add 1 to player's balance
send "&a+1$"
Thats my code, and instead of "send "&a+1$" i would like it to send sometimes not everytime you mine the block.
But the thing is that it spams whenever i mine a block (because i did so it would send you a message of the money you earned.)
But the thing is that i only want the message sometimes.
For example like whenever i mined 4 blocks it says that i earned something so your chat doens't gets over spammed!
This is maybe a little confusion but i hope you guys understand it!
on break of stone:
if player has permission "normal":
cancel event
set event-block to air
add 1 to player's balance
send "&a+1$"
Thats my code, and instead of "send "&a+1$" i would like it to send sometimes not everytime you mine the block.
Last edited: