Enable left & rightclick items in mirricraft-old
This commit is contained in:
		@@ -257,42 +257,42 @@ on respawn:
 | 
			
		||||
    make player execute command "/mirricraft item"
 | 
			
		||||
    stop
 | 
			
		||||
 | 
			
		||||
#on leftclick:
 | 
			
		||||
#    if event-item is ender chest named "&fMirriCraft":
 | 
			
		||||
#        make player execute command "/mirricraft gui"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
#    if event-item is compass named "&4Mene":
 | 
			
		||||
#        make player execute command "/mirricraft gui visit"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
#    if event-item is diamond named "&bVIP":
 | 
			
		||||
#        make player execute command "/mirricraft gui vip"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
#    if event-item is player's skull named "&6%player%":
 | 
			
		||||
#        make player execute command "/mirricraft gui player"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
on leftclick:
 | 
			
		||||
    if event-item is ender chest named "&fMirriCraft":
 | 
			
		||||
        make player execute command "/mirricraft gui"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
    if event-item is compass named "&4Mene":
 | 
			
		||||
        make player execute command "/mirricraft gui visit"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
    if event-item is diamond named "&bVIP":
 | 
			
		||||
        make player execute command "/mirricraft gui vip"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
    if event-item is player's skull named "&6%player%":
 | 
			
		||||
        make player execute command "/mirricraft gui player"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#on rightclick:
 | 
			
		||||
#    if event-item is ender chest named "&fMirriCraft":
 | 
			
		||||
#        make player execute command "/mirricraft gui"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
#    if event-item is compass named "&4Mene":
 | 
			
		||||
#        make player execute command "/mirricraft gui visit"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
#    if event-item is diamond named "&bVIP":
 | 
			
		||||
#        make player execute command "/mirricraft gui vip"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
#    if event-item is player's skull named "&6%player%":
 | 
			
		||||
#        make player execute command "/mirricraft gui player"
 | 
			
		||||
#        cancel the event
 | 
			
		||||
#        wait 2 tick
 | 
			
		||||
on rightclick:
 | 
			
		||||
    if event-item is ender chest named "&fMirriCraft":
 | 
			
		||||
        make player execute command "/mirricraft gui"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
    if event-item is compass named "&4Mene":
 | 
			
		||||
        make player execute command "/mirricraft gui visit"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
    if event-item is diamond named "&bVIP":
 | 
			
		||||
        make player execute command "/mirricraft gui vip"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
    if event-item is player's skull named "&6%player%":
 | 
			
		||||
        make player execute command "/mirricraft gui player"
 | 
			
		||||
        cancel the event
 | 
			
		||||
        wait 2 tick
 | 
			
		||||
 | 
			
		||||
#on inventory click:
 | 
			
		||||
#    if event-item is ender chest named "&fMirriCraft":
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user