#!/usr/local/bin/ruby -w # Author:: Dirk Meyer # Copyright:: Copyright (c) 2008 - 2021 Dirk Meyer # License:: Distributes under the same terms as Ruby # Do not change the name of this class. class IrofferEvent # Admin Command: RUBY cleanlost def cleanlost pack = 0 while true do pack += 1 file = info_pack(pack, "file" ) break if file.nil? next if File.exist?( file ) command( "chfile", pack, "/tmp/incorrect.txt" ) command( "chdesc", pack, "file was removed" ) end end end # eof