mIRC Home    About    Download    Register    News    Help

Print Thread
help with writeini :) #1584 14/12/02 04:36 AM
Joined: Dec 2002
Posts: 22
S
Sl1pkn0t Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 22
Okay im trying to write to a ini file and im using this
-
Code:
inc %n1ck $+ [ [ $nick ] ]

[Writeini part]
-
Code:
writeini time.ini $nick start_ctime $+ [ [ %n1ck $+ [ [ $nick ] ] $ctime

-
What i want to do is include the %n1ck<nick name> to the section im writing to but its not working i think i got the evol thingys wrong can someone fix it for me thanks
smile

Re: help with writeini :) #1585 14/12/02 04:51 AM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Code:

  inc $+(%n1ck,$nick)

and
Code:

  writeini time.ini $nick $+(start_ctime,$eval($+(%,n1ck,$nick),2)) $ctime


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: help with writeini :) #1586 14/12/02 05:00 AM
Joined: Dec 2002
Posts: 22
S
Sl1pkn0t Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 22
Both of those dont work frown

Re: help with writeini :) #1587 14/12/02 05:37 AM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Code:

  inc $+(%,n1ck,$nick)

Sorry, forgot a comma. I included it in the writeini, which obviously isn't getting updated correctly.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C