View Single Post
  #8  
Unread 08-23-2010, 07:00 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

So we tackled the map system. The delete command supports pipes:
/map2_delete_poi |Poi Name With Lots of Spaces| CategoryName
The above works great. Getting the vertical lines | in the code was annoying, but wrapping them in single quotes worked in the end, it was just combing the code altogether that was a PITA.

So my next question...
Anyone manage to access an element that has both spaces in the name AND an apostrophe?

You can see where this would lead to trouble:
'Parent.Parent.Lord's Amulet.attribute' = blah
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 08-23-2010 at 07:07 PM.
Reply With Quote