OSDN Git Service

More meta expressions in DispatchBottle
authornaru <bottle@mikage.to>
Sat, 4 Jan 2003 21:08:08 +0000 (21:08 +0000)
committernaru <bottle@mikage.to>
Sat, 4 Jan 2003 21:08:08 +0000 (21:08 +0000)
bottleclient/MainForm.pas

index 390f164..7d5f930 100755 (executable)
@@ -1660,6 +1660,8 @@ begin
           for k := 0 to (Action as TBottleChainLogAction).LogNames.Count-1 do begin
             LogName := (Action as TBottleChainLogAction).LogNames[k];
             LogName := StringReplace(LogName, '%channel%', Dat['Channel'], [rfReplaceAll]);
+            LogName := StringReplace(LogName, '%ghost%', Dat['TargetGhost'], [rfReplaceAll]);
+            LogName := StringReplace(LogName, '%date%', DateTimeToStr(Now()), [rfReplaceAll]);
             LogNameList.Add(LogName);
           end;
         end;