View Single Post
11-16-17, 11:01 AM   #15
aallkkaa
A Warpwood Thunder Caller
 
aallkkaa's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2017
Posts: 98
Originally Posted by myrroddin View Post
Random improvement thought for SDPhantom's script, although I have long forgotten how it would be done: is there a way to :: echo which SV files were deleted?
Do you mean you want to supress the echoing of files that were deleted? If that's the case, then change line 30 to
Code:
:: echo Delete: %%~nl
Otherwise it will print the deleted variable as It already does. Example:
Code:
CharSV: ZZZ
Delete: ZZZ
EDIT: Sorry, I'd made a mistake regarding how to prevent the "Delete: " message from showing up. @ would prevent 'echo Delete: %%~nl' from being printed on screen (which is already handled by @echo off at the start of the script). The correct prefix to prevent the output of echo in that line would be :: (similar to Lua's -- ). Fixed it above now.

Last edited by aallkkaa : 11-16-17 at 12:11 PM.
  Reply With Quote