It looks like you're new here. If you want to get involved, click one of these buttons!
Active team : (set: $equipeActive = (array:[" Phel'Etanee"],[" Talze'Likamee"],[" Valu'Telfangee"],[" Yoka'Ytanamee"],[" Mahlo'Turagg"],[" Voro'Neyuree"]))$equipeActive
Team member lost: (set: $guerrierPerdu = [])$guerrierPerdu
move the first member in a tempory variable: (move: $equipeActive's 1st into $guerrierAajouter)
add it in the lost member array:(set:$guerrierPerdu+=$guerrierAajouter)
move the first member in a tempory variable:(move: $guerrierPerdu's 1st into $guerrierAajouter)
add it in the active team array.(set:$trash=$equipeActive.push($guerrierAajouter))
find the index of the member and store it in a tempory variable: (set:$index=$guerrierPerdu.indexOf(" Valu'Telfangee"))
add 1 to the index, cause array start at 0(set:$index+=$index)
move the member in a tempory variable(move:$guerrierPerdu's $index into $guerrierAajouter)
add it in the active team array.(set:$trash=$equipeActive.push($guerrierAajouter))