You've used "with()" to access DB NPC data where as in the rest of the script, you're not. Stick to one or the other. I prefer using this:
PHP Code:
NPCNAME.variable = true
Rather than "with()".
Quote:
Originally Posted by Deas_Voice
could you give an example how to use it?
|
Yeah, I agree and also a brief explanation of what problem it's designed to tackle and what not.
Quote:
Originally Posted by Deas_Voice
oh and doing "if (Account && MSG && DataBase) {" isn't very efficient IMO but i could be wrong.
|
I think what he's done there is quite logical.