I can't seem to figure out how to use the novice potions..

This is the code I'm currently using (doesn't work)
useSelf_item Novice Potion {
hp < 40
inLockOnly 1
notWhileSitting 1
}
I wonder if someone can help me get it to work.
Probably the problem is the item, but it's the same name as in the table.
Thanks!