Author Topic: /writeini: insufficient parameters  (Read 3676 times)

0 Members and 1 Guest are viewing this topic.

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
/writeini: insufficient parameters
« 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?

Offline K.I.S.S

  • Street Thug
  • *
  • Posts: 16
    • View Profile
Re: /writeini: insufficient parameters
« Reply #1 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)


Offline Mex

  • Wiseguy
  • **
  • Posts: 63
    • View Profile
Re: /writeini: insufficient parameters
« Reply #2 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".