Hi mirc lovers smile

I nee a little help with (i think) regex smile

I receive a notice from a bot and want to take the data passed and seperate it into variables..

An example (a notice to me slightly modified to hide some data) is this:

-botname- XXXXXXXXX '1''HorseC''HC_afk''founder''''male''us''xxxxxx N.Y.''0000-00-00''us,mirc''mIRC, scripting, Eggdrops, programming''horsec.jpg''xxxxx@sxxxxx.net''sales, strong computer background''http://forum.mirc.org''#mIRC'

The 'data' pairs represent the seperate parts i want to seperate, and as you may notice from the above exampe null parms passed are represented by a '' pair with no data inside.

What I would like to do (maybe in a loop?) is assign variable names to each of the pairs so i can use those variable in a dialog i have built (to pre fill the dialog) before display (edit box fill actually).
This will give me the ability to update a database without having to re-enter every field (only modify the ones that I
want to change)

I plan to use something like:

on 1:NOTICE:XXXXXXXXX*:?:{
...seperate parms and assign to variables

...build dialog to display here to display (have this part)

...process response from dialog sclick (have this part also)

}

Any help i could get with the seperation of the parms would be a great help!

(thanks in advance)

Last edited by HorseC; 07/06/10 04:08 AM.

Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!