command /duelaccept []: trigger: if arg 1 is set: if {duelrequest.%arg 1%} is true: if {gamestart} is false: send "&7&oYou have just accepted %arg 1%'s duel!" send "&7&oYou have just been accepted to %player%'s duel!" to arg 1 teleport player to {spawn1} teleport arg 1 to {spawn2} clear player's inventory clear arg 1's inventory set player's gamemode to survival set arg 1's gamemode to survival give player 1 iron sword named "&b&lPRACTICE" give player 1 fishing rod named "&b&lPRACTICE" give player 1 bow named "&b&lPRACTICE" give player 1 flint and steel named "&b&lPRACTICE" give player 64 steak named "&b&lPRACTICE" give player 64 arrows named "&b&lPRACTICE" equip player with all iron armour give arg-1 iron sword named "&b&lPRACTICE" give arg-1 fishing rod named "&b&lPRACTICE" give arg-1 bow named "&b&lPRACTICE" give arg-1 flint and steel named "&b&lPRACTICE" give arg-1 64 steak named "&b&lPRACTICE" give arg-1 64 arrows named "&b&lPRACTICE" equip arg 1 with all iron armour set {gamestart} to true if {gamestart} is true: send "&c&oThere is &c&n&oalready &7&oa game started!"