Skip to content
General IRCd

Write To

A TG007 community discussion started by CharmedOne.

Discussion 2 posts
Page 1 of 1
Open
Topic #13452 · 2 published posts · 1,212 views

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] 
}

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] 
}

Edited Sep 23, 2009 10:53 PM by err0r

Get information about ircWx here