These scripts are completely useless since you are not including any documentation.
if ($hget(digimon,$nick) != agumon) {
elseif ($hget(digimon,$nick) != gomamon) { notice $nick only agumon and gomamon can use that attack! | halt } }
completely invalid piece of code.
if ($hget(digimon,$nick) != wormmon) { notice $nick only biyomon can use that attack! | halt }
even you got confused in your own code.
if (%player1stamina < 6) { notice $nick you can't use $1 because you don't have enough stamina! | halt }
if (%player1stamina > 6) {
pointless you are making 2 check since you can make only one
if (%player1stamina < 6) { notice $nick you can't use $1 because you don't have enough stamina! | halt }
else {
Also on your attacks you are only checking player1stamina, while you dont know which of the players triggering the attack...
Fix your code and then post it