Thread: LeaveMessage()
View Single Post
  #3  
Old 03-21-2009, 05:19 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
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 View Post
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.
Reply With Quote