Alt *MAIN* (Realname)

Scans for, and displays main/alt relations in your Guild

Moderator: PleegWat

Alt *MAIN* (Realname)

Postby andros » Sat Jul 08, 2006 4:03 am

Hi guys! In our guild we use this kind of string in the public note:

"Alt MAIN (Realname)" including spaces

where MAIN is the nick of the main char and Realname is the name of the real life player. Any way to handle this?

Thx,
Andrea
User avatar
andros
WR.net Apprentice
WR.net Apprentice
 
Posts: 27
Joined: Wed Jul 05, 2006 5:00 pm

Re: Alt *MAIN* (Realname)

Postby Grimicus » Sat Jul 08, 2006 7:27 am

you can use /Alt\s(\w+)/i


if you assume Alt is the first thing in the entire note, you can use:
/^Alt\s(\w+)/i
Grimicus
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 6:06 am

Re: Alt *MAIN* (Realname)

Postby andros » Sat Jul 08, 2006 5:53 pm

Thank you mate, it works brilliant!!!

Andrea
User avatar
andros
WR.net Apprentice
WR.net Apprentice
 
Posts: 27
Joined: Wed Jul 05, 2006 5:00 pm


Return to AltMonitor

Who is online

Users browsing this forum: No registered users and 0 guests

cron