Perhaps I'm just not understanding the documentation or all the examples I've seen myself, but can someone please tell me why this particular greet program is causing the mobs that use it to attack evil pcs who are NOT pkillers?
if isevil($n)
and isnpc($n)
or ispkill($n)
say Death to thee $n!
murder $n
endif
My thinking is that this should attack only evil NPCs and ALL pkillers, no one else. But as I said, I'm getting this to attack evil PCs who are not flagged as pkillers. While this isn't a *big* issue, I was hoping to leave evil peacefuls alone when it came to using this program.
Does anyone have a clue at all why this would attack evil peacefuls? Any suggestions on a fix? It does not touch non-evil NPCs or Peaceful PCs if that helps.
Thanks!
if isevil($n)
and isnpc($n)
or ispkill($n)
say Death to thee $n!
murder $n
endif
My thinking is that this should attack only evil NPCs and ALL pkillers, no one else. But as I said, I'm getting this to attack evil PCs who are not flagged as pkillers. While this isn't a *big* issue, I was hoping to leave evil peacefuls alone when it came to using this program.
Does anyone have a clue at all why this would attack evil peacefuls? Any suggestions on a fix? It does not touch non-evil NPCs or Peaceful PCs if that helps.
Thanks!