Hi, I have this code here
command /passamontagna [<string>]:
permission: maschera.give
permission message: &cNon hai il permesso!.
usage: &cParametri errati.
trigger:
if arg-1 is not set:
send ""
if arg-1 is set:
if arg-1 is "get":
give feather named "&9Passamontagna" with custom model data 57 to player
send "&aHai ricevuto un passamontagna"
on right click with feather:
if player is holding feather named "&9Passamontagna":
if player's helmet is air:
set player's helmet to player's tool
else:
set player's helmet to player's tool
set player's tool to air
on chat:
if player's helmet is feather named "&9Passamontagna":
set chat format to "&8Anonimo »&b %message%"
ONLY THAT THERE IS A PROBLEM, WHEN I WEAR "feather" named "&9Passamontagna" THE SERVER AUTOMATICALLY WITHOUT ME DOING ANYTHING IT DISCONNECTS CLOSING
ONLY THAT THERE IS A PROBLEM, WHEN I WEAR "feather" named "&9balaclava" THE SERVER AUTOMATICALLY WITHOUT ME DOING ANYTHING IT DISCONNECTS CLOSING
command /passamontagna [<string>]:
permission: maschera.give
permission message: &cNon hai il permesso!.
usage: &cParametri errati.
trigger:
if arg-1 is not set:
send ""
if arg-1 is set:
if arg-1 is "get":
give feather named "&9Passamontagna" with custom model data 57 to player
send "&aHai ricevuto un passamontagna"
on right click with feather:
if player is holding feather named "&9Passamontagna":
if player's helmet is air:
set player's helmet to player's tool
else:
set player's helmet to player's tool
set player's tool to air
on chat:
if player's helmet is feather named "&9Passamontagna":
set chat format to "&8Anonimo »&b %message%"
ONLY THAT THERE IS A PROBLEM, WHEN I WEAR "feather" named "&9Passamontagna" THE SERVER AUTOMATICALLY WITHOUT ME DOING ANYTHING IT DISCONNECTS CLOSING
ONLY THAT THERE IS A PROBLEM, WHEN I WEAR "feather" named "&9balaclava" THE SERVER AUTOMATICALLY WITHOUT ME DOING ANYTHING IT DISCONNECTS CLOSING