Sorry for being so inactive being the person who asked for help, it's been so busy that now is the first time since I posted the topic that I can sit in front of my computer and think about games.
:frown:
I'll try to explain what my plug is about and what I was trying to achieve using that long test expression, but before I get into that, let me point out that Arturo's first post helped me to solve the problem - which is, indeed what he described: the parser for NCB test expressions cannot work with more than 2 boolean variables at a time and thus (this bit is my guess) always evaluates an expression to FALSE whenever it can't deal with it.
Now what my plug's about (for those who are interested):
Andcarne's assumption is right. I am sick of all those Fed bstrds attacking me on sight 'coz I am flying around in a captured Rebel IDA III. It was pretty easy to make a new rank that prevent that, but I always like things to make sense (and consistent with the original default scenario), even if it's just for my personal use. So then the next logical thing (to me anyways) is to make this privilage (that Feds don't auto attack Rebel Cap ships) item dependent, so I thought about licenses. But who can issue licenses in the defualt scenario? The Feds. But then my thought went on and thought about the fact, that being able to buy this privilage with an arbitary amount of money (credits are too easily obtainable) is waaaaaayyy too cheap, the comfort for not getting harrased can be bought too easily, right down to the level where I consider my plug to be a cheat plug.
So then I thought harder, and arrived at the conclusion, that since the Feds issue those licenses, why should they issue them to you when you are not even working for them, or even going against them (like, being a true Rebel, not a fake one in a real rebel ship). Soooo, to carry-on the logical flow, I decided to make it so that I can't buy the license unless I am a true civilian (ie - not in any major story), or doing the Fed string. Since there's couple of places where one can enter the Fed story so I'd have to recognise all of them (I have to admit I went a bit overboard but better safe than sorry - I hate debugging). Aaannnnd, since there are links over to rebel story from Fed story as well (eg: b50 is set, but then later on I might defect to the rebel story), I had to deal with that. I think it makes sense 'coz until b129 is set I am still a low-level delivery boy for the rebel so the Fed don't know that I am opposing them yet and thus the license is still available to me in some "transition" periods.
Arrghh I am crap at putting my thought into words but oh well, I better stop here coz I am not making sense anymore. Actually, I just found out that I could get a sort of commander rank with the Fed story if I get far enough, and that will prevent the automatic attack as well, but it's just plain pain in the *rse, and I doubt if I can make it that far into the Fed story without hanging myself due to the harrasement.
Btw the plug doesn't stop there in curing the "problem" but I think I typed way too much for one post, and in actual fact I need to play more and understand more of the game anyways, so until next time.
Big thanks for all your helps and feedbacks - Greatly Appreciated!!!!!!!!!
------------------