Stas Mishchenkov
unread,Jun 2, 2022, 4:01:02 AM6/2/22You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi, Daniil!
01 июн 22 23:46, Nil A -> Daniil Ustuzaninov:
DU>> Как настроить сабж?
NA> Судя по тому, что у тебя Хаски (TID: hpt/w32-mgw 1.4.0-sta 30-03-12), то
NA> hpt post, ну или через txt2pkt.
NA> Садя по тому, что у тебя шиндовз (GoldED+/W32-MINGW 1.1.5-b20120519 (Kubik
NA> 3.0)), то со скриптами там всё несколько не так, как в юниксах, поэтому я
NA> тут не капенгаген.
=== Import rules.cmd Start ===
@echo off
setlocal enableextensions enabledelayedexpansion
set rulesdir=d:\fido\mail\rules
set hptexe=d:\fido\hpt\bin\hpt.exe
set hptcfg=D:\Fido\hpt\hpt.cfg
rem одной строкой.
%hptexe% -c %hptcfg% post -s "Rules of R46.CRISIS" -e "R46.CRISIS" -z "Evil
Robot" -o "Lame Users Breeding, Simferopol, Crimea." -f loc,npd
D:\Fido\mail\Rules\R46.CRISIS.rul
%hptexe% -c %hptcfg% scan -a R46.CRISIS
rem одной строкой.
for %%i in (%rulesdir%\crimea.*.rul) do set filename=%%~i&set
areaname=%%~ni&%hptexe% -c %hptcfg% post -s "Rules of !areaname!" -e
"!areaname!" -z "Evil Robot" -o "Lame Users Breeding, Simferopol, Crimea." -f
loc,npd !filename!
%hptexe% -c %hptcfg% scan -a crimea.*
=== Import rules.cmd End ===
Have nice nights.
Stas Mishchenkov.