Jump to content
  • 0

Help with BaseJob == syntax please!


Question

8 answers to this question

Recommended Posts

Posted (edited)

That's what I was looking for, thanks!

EDIT : It worked for the kunai seller, but not for the other Ninja NPC's.

que_ng,28,50,3 script Boshuu 709,{

if (BaseJob != Job_Ninja || BaseJob != Job_Kagerou){

If I change the !'s into ='s the script doesnt respond at all.

Edited by insarius
Posted

It won't work with != because you will be checking if it does not equal multiple jobs at once causing the statement to always succeed. Use "&&" instead of "||".

Posted

if ( Class != Job_Ninja && Class != Job_Kagerou){

or

if ( Class == Job_Ninja || Class == Job_Kagerou){

Woot! That's way better. I should have been more specific.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...