Add script command getnpcclass.