Ban a block in a selected world

Null45

Knowledgeable
#1
cmd create blockban
cmd add blockban %worlds% = array(\"#INPUT THE WORLD WHERE YOU WANT THE BLOCK TO BE BANNED\")
cmd add blockban if %level% notin %worlds% then exit
cmd add blockban if %args%[7] != <Block Id> then exit
cmd add blockban cancel
cmd add blockban message %p% You cant place that block in this world!
cmd trigger place blockban

It's a simple command but i hope it helped you! :)