Thread
:
Using OR in NPC script
View Single Post
#
2
11-27-2009, 08:15 AM
joligario
Developer
Join Date: Mar 2003
Posts: 1,498
When using classes and eq (equal for strings) or ne (not equal for strings), you will need to capitalize the class. So for your given example:
Code:
if ($class ne "Shadowknight" || $class ne "Necromancer") {
joligario
View Public Profile
Send a private message to joligario
Find all posts by joligario