Jump to content

Write To


CharmedOne

Recommended Posts

k my code works so thats not the problem, I want it to wite it to the ini different , now it writes it now is like this.

 

On %#Buzzen\bTest at ( 3:55:00 am - 09/23/2009 ) Tom: :P your welcome Miss

 

I want it to write to the ini like this

 

[%#Buzzen\bTest ]

( 3:55:00 am - 09/23/2009 ) Tom: :P your welcome Miss

 

Can someone help me out heres my code.

 

on tag:TEXT:*:#:{
  write Settings/talktext.txt On $chan at ( [ $time(h:nn:ss tt) - $adate ] ) $nick : $1- | .echo $active 0[ 8 $+ $nick $+  4Text Logged User 0] 
}

Link to comment
Share on other sites

write and writeini are different commands..

 

if u are writing to an ini file you should use writeini

 

if you are writing to a txt file and just want it to look that way you can do

 

on tag:TEXT:*:#:{
write Settings/talktext.txt $+($chr(91),$chan,$chr(93)) | write Settings/talktext.txt ( [ $time(h:nn:ss tt) - $adate ] ) $nick : $1- | .echo $active 0[ 8  $nick   4Text Logged User 0] 
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...