i have an alias that lists everyone on a variable list (displacelist)
it shows something like this
Current displace List: Rebur|char2|char3|etc
i was wondering if there was an easy way to display a total like
Current displace List (4): Rebur|char2|char3|char4
listing question
listing question
************************************
Alendar -= The Black Ash of the Phoenix =-
************************************
http://www.giantitp.com/comics/oots0612.html
http://www.giantitp.com/cgi-bin/GiantIT ... ipt?SK=244
Hador group-says 'Inames I think you are the only person on the mud who shouldn't talk about Cofen sucking'
Alendar -= The Black Ash of the Phoenix =-
************************************
http://www.giantitp.com/comics/oots0612.html
http://www.giantitp.com/cgi-bin/GiantIT ... ipt?SK=244
Hador group-says 'Inames I think you are the only person on the mud who shouldn't talk about Cofen sucking'
Code: Select all
#SAY Current Displace List ~(%numitems(@DISPLACELIST)~): @DISPLACELIST
Last edited by Kegor on Wed Aug 29, 2007 10:37 pm, edited 1 time in total.
-
- Sojourner
- Posts: 956
- Joined: Thu Feb 21, 2002 6:01 am
- Location: Copenhagen
Here is a fun little regular expression, it takes a list
Ann|Bob|Carl|Doris
and return
Ann, Bob, Carl and Doris
Ann|Bob|Carl|Doris
and return
Ann, Bob, Carl and Doris
Code: Select all
%subregex(%replace(@DISPLACELIST, "|",", "),", (\a*)$"," and ~%1")
Who is online
Users browsing this forum: No registered users and 7 guests