Hello, This is the documentation for my DIAC UDF. Note that the same is also available inline in DIAC.au3, This file is made for easy & hassle-free access to usage instruction of this UDF. Enjoy!

***Recommended to use these funtions when compiling*** (SciTE has some issues with syntax of call function, its not a problem)

--------------_DIAC--------------

Pourpose: The main function of this UDF, I hope this fuction does not require this field

Syntax: _DIAC($iFlag = 1, $iLang = @OSLang, $iTimeout = Default, $aFellowFiles = 0, $hWnd = Default, $sTitle = __DIAC_Populate(1, $iLang), $sMessage = __DIAC_Populate(2, $iLang), $sYesButton = __DIAC_Populate(3, $iLang), $sNoButton = __DIAC_Populate(4, $iLang))

Parameters: (Optional) $iFlag   	 1 = Give a chance to correct his/her mistakes [Default]
					 0 = Self-Destruct without any warning
	    (Optional) $iLang    	 Uses Hex value of system language to display localized messages [Default = @OSLang]
	    (Optional) $iTimeout	 Timeout for the Message Box. If timeout is reached, Its equivalent as clicking the "Yes" Button [Default = Default (No Timeout)]
	    (Optional) $aFellowFiles     Deletes all the files contained in an array, Array should contain abosolute paths of the files [Default = 0 (No Files)]
	    (Optional) $hWnd	 	 Handle to the parent window [Default = Defualt (No Parent)]
	    (Optional) $sTitle	 	 Title for the Msg Box [Default = __DIAC_Populate(1, $iLang)]
	    (Optional) $sMessage	 Body of the Msg Box [Default = __DIAC_Populate(2, $iLang)]
	    (Optional) $sYesButton	 Text for the "Yes" Button [Default = __DIAC_Populate(3, $iLang)]
	    (Optional) $sNoButton	 Text for the "No" Button [Default = __DIAC_Populate(4, $iLang)]
			
Return Codes: Success:  N/A
			Failure: 1 = Script is compiled
				 2 = The "User" pressed the "No" button
				 3 = Unknown Flag

Comments: Please note that by "Yes" button I mean the first button which does
          the right thing (i.e Self-Destruct), And the "No" button is pretty self explanatory

Author: Damon Harris (TheDcoder)

--------------_DIAC--------------

--------------_DIAC_SelfDestruct--------------

Poupose: Script Self-Destructs when used. (USE WITH CAUTION!!!)

Syntax: _DIAC_SelfDestruct($iTimeout = 60, $aFellowFiles = 0)

Parameters: (Optional) $iTimeout	  Timeout for the "waitfor" command [Default = 60 (60 Seconds)]
	    (Optional) $aFellowFiles      Deletes all the files contained in an array, Array should contain abosolute paths of the files [Default = 0 (No Files)]
			
Return Codes: Success:  N/A
	      Failure:	N/A

Comments: Recommended to comment out this function & un-comment when compiling :)

Author: Damon Harris (TheDcoder)

--------------_DIAC_SelfDestruct--------------