Code:
on crafting:
if event-item is iron sword:
if click type is left mouse with shift or right mouse with shift or right mouse:
cancel event
else:
loop 9 times:
remove 1 from item amount of slot loop-number of current inventory
set player's cursor to diamond sword
When you make an iron sword item, I want to block left click with shift, right click with shift, and right click. However, when you use the above if statement, left click is included and it becomes a cancel event. Is there a solution?