Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: thijn on July 22, 2008, 08:40:11 pm

Title: /writeini: insufficient parameters
Post by: thijn on July 22, 2008, 08:40:11 pm
I have this line:
Code: [Select]
!writeini -n vcmp.warns.ini WARNS $vcmp.hgetname($1) 0but when i run it, my mIRC says: /writeini: insufficient parameters (line 97, rcon.mrc) ???  :'(

What's wrong with it? and how can i fix it?
Title: Re: /writeini: insufficient parameters
Post by: K.I.S.S on July 22, 2008, 11:38:28 pm
A little reference for  you

http://skrypting.com/mIRC/initialization_file.php

If you are just setting the value to 0, i would use /remini

syntax -
Code: [Select]

/remini <inifile> <section> [item]


working example -
Code: [Select]

/remini vcmp.warns.ini WARNS $vcmp.hgetname($1)

Title: Re: /writeini: insufficient parameters
Post by: Mex on July 23, 2008, 02:02:06 am
The $vcmp.hgetname($1) identifier is returning $null, which means it will not be included as a parameter for the !writeini command, thus resulting in the message "insufficient parameters".