ok, that is what I gave you the first time
PHP Code:
$vbulletin->GPC['points'] != 0
but you said it didn't work. So I changed it to this:
PHP Code:
$vbulletin->GPC['points'] == 0
So what determines an infraction vs a warning, in the code?
--------------- Added [DATE]1450845203[/DATE] at [TIME]1450845203[/TIME] ---------------
the continue you had in your code is what was causing the 500 error for you, as a continue is used to exit a loop, and you did not have a loop. So I moved the code you wanted to run when points is 0, to inside your if statement. Should it run when points is 0, or when it is not 0?