You can Copy and paste this if you want instead of downloading the file! ___________________________________________
#this skript was made by Yo3r!
#how to make custom item abilities
command /test [<text>]: #this is an argument we will use later!
trigger:
if arg-1 is "pig" #This will summon a pig at the location of the player
send "Have a pig!"
spawn a pig at location of player
if arg-1 is "cow"
send "Have a cow!"
spawn a cow at location of player
___________________________________________