well, im going to have to vote nay.
however, dont give up, keep programming, you get better at every failed attempt. Also, like hottoxic said try naming the variables so they are easier to read. EX:
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
$PlayerHP
(or whatever the variable represents)
instead of:
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
$XYZ
and lastly, try commenting your code so when you come back to it is a little easier to pick up again: such as:
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
;here the code is executing X and checking for Y
also, check the autoit forums if your looking to expand your general knownlege of autoit (i would strongly, strongly recommend) its called "AutoIt 1-2-3"
dont get discouraged, they will get better if you truly love to program.