 |
quigbrew Novice
Joined: 04 Jun 2002 Posts: 31
|
Posted: Mon Sep 27, 2004 4:01 am
capturing everyone online into a string |
Not sure if this is even feasable, but I'd be really nice if it is. I want to capture everyone currently online in Achaea into a string variable. That's 400+ people on occassions so it'd be a large string, but hopefully it's possible.
here's a typical qwho list:
2966h, 5533m cexkdb-qwho
Kalika, Cjonvon, Zayne, Semfir, Xadzia, Saryn, Ryuuza, Nephcir, Darktalon, Elara,
Sabiru, Noristae, Aelia, Reghna, Antreus, Azryel, Solymr, Verrucht, Saki, Arietta,
Sypher, Vinceres, Ardelle, Tiax, Azmart, Wendigo, Rontar, Flerby, Kyla, Nachshon,
Alynna, Roshan, Kaelar, Ariettie, Xiar, Reyna, Katriina, Bluef, Grimsblade, Izzadorra
, Sawa, Nican, Xel, Scarabus, Halios, Dethea, Hataru, Fatima, Riley, Jindrak, Locor,
Althecea, Jazin, Dreya, Thrud, Hyano, Karvax, Shiva, Demosthene, Manuella, Xzyn.
2966h, 5533m cexkdb-
Any ideas on how I would do this? I would greatly appreciate any help I can get.
Thanks |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Sep 27, 2004 5:19 am |
#TR qw {^qwho} {#VAR who {}} {} {input}
#COND {(*)} {#VAR who {@{who}%1};#IF (%ends( "%1", ".")) {#STATE qw 0}} {LoopLines|Param=99}
You can easily convert this to a stringlist, rather than a string, using %replace.
#VAR who {%replace( %replace( %replace( @who, ",", "|"), " ", ""), ".", "")} |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
 |
quigbrew Novice
Joined: 04 Jun 2002 Posts: 31
|
Posted: Mon Sep 27, 2004 5:29 am |
Thanks Lightbulb, it works like a charm!
|
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|