• Welcome to Vice City Multiplayer.
 

/writeini: insufficient parameters

Started by thijn, July 22, 2008, 07:40:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thijn

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?


K.I.S.S

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)


Mex

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".