| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | force echoarea linking (wishlist) |
Hello all!
I have some big dead echoareas. To save time and energy during tossing i
set those echos with the -nolink keyword out of the link process during
normal tossing.
If i start "hpt link test" i got:
3 11.10.46 test has nolink option, ignoring
This is the normal process because i don't want hpt to link this echo.
But if i need to link that echo for any reason one time there is no way to
do so without editing the areas config file before and after linking.
I'd like to have hpt link to ignore the -nolink parameter with some kind of
toggle, override, relink or force switch.
hpt link -force testecho
-force
Ignores the -nolink keyword of echoarea config
If there is already some kind of that function i would like to hear about
it. I haven't found anything like that for the link option.
So i have to edit the areas config every time i have need for that relink.
As i'm a little bit lazy i wish for that force switch - hoping it may
useful for others too.
If you want a relink of all echos you have to remove all -nolink keywords,
link all and insert the -nolink keywords again. This is my workaround so
far, if it may be useful for you, feel free to modifiy it to your needs.
Ups, sorry, while reading some docs i just added single echo support.
++++++++++++++++cat hptlink.force+++++++++++++++++++++++++
#!/bin/bash
echo "you must edit the areas lines in the script (below)"
echo "and remove this echo and the exit lines."
exit
## usage: hptlink.force # without echotag all is linked
## edit to your need
areas_config_file=/path_to/areas/configfile/areas
areas_config_backup=/path_to/areas/configfile/areas.withlink.`date +%s`
echo="$1"
[ -z "$1" ] && echo="\*"
cp $areas_config_file $areas_config_backup
sed s/-nolink\ // $areas_config_backup > $areas_config_file
hpt link $echo
cp $areas_config_backup $areas_config_file
rm $areas_config_backup
++++++++++++++++++++++++++++++++++++++++++
Regards
Kai
--- GoldED+/LNX 1.1.4.7
* Origin: Monobox (2:240/77)SEEN-BY: 3/50 103/705 154/10 203/0 221/6 227/51 240/77 1120 1661 5832 249/303 SEEN-BY: 261/38 280/464 5003 292/854 310/31 423/120 633/267 280 640/384 SEEN-BY: 712/550 848 770/1 2320/100 @PATH: 240/77 1661 280/464 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.