mIRC Home    About    Download    Register    News    Help

Print Thread
#141913 14/02/06 02:42 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
i have this:

;wallops log by r0ck0

ON *:WALLOPS:*: { write $+($logdir,$mklogfn(Wallops)) $timestamp $+(<,$nick,>) $2- }

and this work good on mirc 6.03
but on 6.16 i get error:

/write: unable to open 'C:\mirc616\logs\C:\mirc616\logs\QuakeNet\Wallops.log'

which is weird, coz when i do //echo $logdir
it returns C:\mirc616\logs\


IceCapped
#141914 14/02/06 02:45 AM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
try using $shortfn?


What do you do at the end of the world? Are you busy? Will you save us?
#141915 14/02/06 03:02 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
Try this:

ON *:WALLOPS:*: { write $mklogfn(Wallops) $timestamp $+(<,$nick,>) $2- }

(untested)

-genius_at_work

#141916 14/02/06 03:05 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
you truly are genius =)
it works !!!

i just dont get it why some things are so not compatible smirk
when they should be...

thanks AGAIN very much !


IceCapped

Link Copied to Clipboard