The [ ] denote an array access. Here, you aren't actually accessing an array, so you don't need those. Also, the ! operator can be used instead of not().

if(!pinfo(player(), 14)){