ID:914470
 
(See the best response by Dj dovis.)
Code:
                    if(target.combolist.len > 0 && target.stunned)
for(var/A in target.combolist)
if(findtext(A, "p l"))
user.Melee_Attack(user, target, damage, 2, "left punch")
target.combolist.Remove(A)
break


Problem description:
How can i check to see if "p l" is the first in the list currently it will work if its just in the list.

Best response
im not 100% sure on this answer but wouldnt adding another if statement and doing this work ?

if(A == target.combolist[1])
it works thanks.