mIRC Home    About    Download    Register    News    Help

Print Thread
#245141 11/04/14 07:46 PM
Joined: Mar 2014
Posts: 215
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Mar 2014
Posts: 215
Trying to get a chat log working, by including name, time, and message in a txt file. here's my script:
Code:
on *:text:*:#: {
  write chatlog.txt $nick $1-
}

I am trying to include time and date too, but when i use
Code:
$nick [$time(mm dd hh:nn:ss)] $1- 

it doesn't work.
Also tried
Code:
$nick [ $+ ($time(mm dd hh:nn:ss))] $1- 
but gives invalid parameters $nick.


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball
Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Code:
$time(mmm-dd) $time(hh:nn:ss)
Should be what you want.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Link Copied to Clipboard