For IF you have to use ==.
= is for assignment, and == will check if the given two parameters are equal.
IF PTWOHIT==TRUE THEN 'code here.
Also, consider using multi-line IFs:
IF PTWOHIT==TRUE THEN
'code here
'more code here
'etc.
ENDIF
Also, PRINT "TEXT ":VARIABLE is invalid syntax. Replace the : with a ;.
When I tried the milti-line IF thing you told me about on the P1KICK command, the player doesn't kick anymore. And it doesn't seem to be detecting the collision between P1's sword (10) and P2 (1).