edit2: still freezes
In a script I'm writing which auto-invites people to a channel based on names in an .ini file, I used String.Count[] and it froze EQ each time:
Code: Select all
Sub LoadInviteList
/declare ListSize int 0
/declare ListData string
/varset ListData ${Ini[InviteList.ini,names,,]}
/echo ${ListData.Count[|]} occurences
| more code follows...
/return
My first thought was that maybe the | character was causing a parsing error since it's a comment delimiter, but then I tried:
Code: Select all
/echo ${String[Hello].Count[l]}
edit: an addendum to this, my initial method of reading a variable-line-length .ini file was using String.Arg[] until it returned NULL but I'm not sure how to test if a string variable is NULL. How do I do that?

