View Single Post
  #4  
Old 08-23-2004, 04:46 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

Yeah, my memory was faulty, big suprise. I now remember (with google's help) that SQL uses the standard backslash as the escape character. So you can do \' or whatever to make SQL ignore it and put it into the DB as a quote. This will probably display weirdly when you first spawn the npc, it might show their name as "Bob\'s Cow" until you shut down the zone and restart it because the code will see the \ until it writes to the DB and reads it back, but it should work once the NPC is loaded fromt he DB.

PS I think i remember now that the %% thing came C in printf and scanf methods. Sorry for my brain farts.
Reply With Quote