mIRC Home    About    Download    Register    News    Help

Print Thread
#250790 31/01/15 06:01 AM
Joined: Dec 2014
Posts: 68
M
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2014
Posts: 68
Hi, Is it possible to send the exact time either local or pc time to a .ini file ie writeini

Code:
var %user = $2
var %time = <time>      (however you would do this)
var %reason = $3  (Also how would I make this so it followed on to multiple words (not defining a specific amount))
writeini warntime.ini User %user Time %time Reason %reason 



Last edited by michaelukz; 31/01/15 07:29 AM.
Joined: Sep 2014
Posts: 259
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2014
Posts: 259
Sure

//echo -ag $day $date $time $uptime

Joined: Dec 2014
Posts: 68
M
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2014
Posts: 68
And is there a way to have unlimited chat ie instead of typing out var %reasontxt1 = $3 var %reasontxt2 = $4 etc, is there a way to continue afterwards?

Joined: Sep 2014
Posts: 259
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2014
Posts: 259
Like this? (paste into a mIRC window and enter)

Code:
//var %test = Day: $day Date: $date Time: $time | echo -ag %test

Joined: Dec 2014
Posts: 68
M
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2014
Posts: 68
Here I'll point it out laugh


Code:
var %reason = $3  (Also how would I make this so it followed on to multiple words (not defining a specific amount))
writeini warntime.ini User %user Time %time Reason %reason 


This is what I mean, It is, I want it to be able to write a reason for the warning to the .ini file warntime.ini and have it unlimited text with spaces without like

Code:
var %text1 = $3
var %text2 = $4

Joined: Dec 2014
Posts: 68
M
Babel fish
OP Offline
Babel fish
M
Joined: Dec 2014
Posts: 68
Is there a way to do it so it won't overwrite, I want it to be the join date ie, when they first joined the channel

Joined: Jun 2014
Posts: 248
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Jun 2014
Posts: 248
$3-

is the 3rd word and every word after

You can $read a file scan ot wild match the nick and if you match { return }

Last edited by Belhifet; 31/01/15 10:39 AM.

Link Copied to Clipboard