View Single Post
  #2  
Unread 05-19-2018, 08:42 AM
Darqwood's Avatar
Darqwood Darqwood is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Posts: 849
Default

Splitting a string into parts generically, I've never found a way to do that. But you can do your specific example by setting up four concatenated strings:

"Level " ## .AscensionLevel ## " Elementalist"
"Level " ## .AscensionLevel ## " Etherealist"
"Level " ## .AscensionLevel ## " Geomancer"
"Level " ## .AscensionLevel ## " Thaumaturgist"

and then compare each of them to .AscensionLevelClass. If the character has an Ascension class, one of them will match. It's not sexy but it works. There is an example "FindAscClass" in the DarqUI broker window.



.

Last edited by Darqwood : 05-19-2018 at 08:17 PM. Reason: Concatenation is ## not &&
Reply With Quote