Vice City Multiplayer

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

Title: /writeini: insufficient parameters
Post by: thijn on July 22, 2008, 07:40:11 PM
I have this line:
!writeini -n vcmp.warns.ini WARNS $vcmp.hgetname($1) 0
but 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, 10: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 -


/remini <inifile> <section> [item]



working example -


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

Title: Re: /writeini: insufficient parameters
Post by: Mex on July 23, 2008, 01: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".