KILL USELESS WIP(thread_id as long, flame_factor as integer optional)
Use:
Delete a TGC Forums thread of a specified ID. Can be used in the event that a WIP thread does not provide proper description and/or screenshots of progress, KILL USELESS WIP provides an easy to use way to rid the system of this nuisance.
KILL USELESS WIP returns a 1 if the thread was locked and a 0 if not.
Use in conjuction with SCREENSHOT EXIST(), DESCRIPT EXIST() and THREAD EXIST() to perform checks.
thread_id - The ID of the WIP thread on the forums.
flame_factor - If used, the KILL USELESS WIP command will create random flame posts in a CHECKLIST format and send them regardless of response from WIP creator.
Example:
REM --------- KILL USELESS WIP EXAMPLE ----------
REM --------- Tuesday, August 9th, 2005 ---------
REM --------- AluminumPork ----------------------
SYNC OFF
INPUT "Please enter thread ID to perform check on: ", id
screenshot = SCREENSHOT EXIST(id) `Returns a 1 if TRUE, 0 if not
description = DESCRIPT EXIST(id) `Returns a 1 if TRUE, 0 if not
if screenshot = 0 then KILL USELESS WIP(id) `If no screenshot, delete thread
if descript = 0 and THREAD EXIST(id) then KILL USELESS WIP(id) 'If the thread poster provided no description then delete it.
if THREAD EXIST(id) = 0
print "Useless thread deleted!"
else
print "Thread was not found useless, therefore, not deleted..."
endif
end
REM -------------------END EXAMPLE----------------------
Ahhhhhhhhhhh, if only *dreams*
P4 2.4Ghz HT, 512MB RAM, ATI Radeon 9600 128MB, 19" Samsung SyncMaster 997DF, 80GB HD