Hello,

i have this code, the problem is that before the /savebuf -o command the /write command does not writing anything on the file, any help please.

Code:
          var %f = test.log
          if ($exists(%f)) { .remove -b %f }
          write %f $str(-,50)
          write %f [ $+ $fulldate $+ ]: This file created from the $addon v $+ $cls_ver addon and display the clonescan scanning results from the scanning board.
          write %f $str(-,50)
          write %f $crlf
          savebuf -o $dname 1 %f
          write %f $crlf
          write %f $str(-,50)
          write %f Copyright © 2005/2011 by $cls_owner $+ . All rights reserved


- Thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-