Quote:
Now, the regex you're using is just a bit odd:
Code:
noop $regex(%sockreader,/(.*?)\|(.*)/Si)

I put that together from zad0909's original code,
neglecting to mention that I am also still struggling with regex. smirk

I wonder if it wouldn't be even more efficient to simply use tokens to parse the line,
replacing:
Code:
if (*|* iswm %sockreader) { 
  noop $regex(%sockreader,/([^|]+)\|(.*)/Si)
  set %clan.name $regml(1) 
  set %clan.url $regml(2)
with:
Code:
if (*|* iswm %sockreader) { 
set %clan.name $gettok(%sockreader, 1,124) 
set %clan.url $gettok(%sockreader, 2,124)

Sorry Ash44455666, I don't 'get' socket scripts either; can't help you there.
Unregistered mirc is not crippled in any way. That's not the prob.

Last edited by LonDart; 03/09/07 04:20 AM.