Hallo Jurgen,

On Wed, 11 Aug 2004 17:38:25 +0200GMT (11-8-2004, 17:38 +0200, where I
live), you wrote:

JH> Now  the  question is, how can I change that template above, to only use the QT,
JH> if there are several people addressed? And another QT if not?

Test whether there are multiple occurrences of the @ character, can be
done with a simple regexp and an if macro.

%SetPattRegexp="(.*?)(@.*@)(.*)"%RegExpBlindMatch="%To"%-
%If:'%SubPatt="1"'='':'%QInclude("QT for single to")':'%QInclude("QT for multiple 
to")'%-

Insert the names for the appropriate QT's.

-- 
Groetjes, Roelof

The Bat! 2.13 "Lucky" Beta/4
Windows XP 5.1 Build 2600 Service Pack 1
1 pop3 account, server on LAN

Disclaimer: Any opinion stated in this message is not necessarily shared by my budgies 
or rabbits.


________________________________________________
Current version is 2.12.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to