/* Medievia script to save the bidding results to a file * launch it ONE time from shell or from AmiMUD. It will save * all the identifications to the file name in the variable savefile. * This script have to be used in conjunction with the following trigger: * * trigger=min bid is * bid ?\n * */ savefile=dh1:objects address 'AmiMUD.1' do forever 'am_log 10 LOGS WAITFOR "divination"' open( 'temp',savefile,'A') ok=0 do i=0 to 9 if pos('br>',LOGS.i)>0 then do ok=1 writeln('temp',"--------------------") end if ok=0 then writeln('temp',LOGS.i) end close ('temp') end