I have found the bug and I am not quite sure what is causing it, I will try and patch a fix over the next few days and make a update, it seems to be a problem when deleting commands containing only numbers or a prefix like + and numbers.
I have a older version of the script on my RoBo bot which this script was taken and re configured from and has no problem deleting numbers, so its a bit odd.
Thanks for bringing this bug to my attention EE128.
EE128, yes - it is indeed because your command is a number; Specifically, in the context of $ini(%command_file,%k,$2), where $2 is +128, mIRC sees +128 as equivalent to 128, and thus tries to find the 128th item in the section rather than an item called "+128"
Try changing this line: (line 131)
if ($ini(%command_file,%k,$2) >= 1) {
To this:
if ($readini(%command_file,n,%k,$2) != $null) {
Thank you Meta, I shall see if I can include this in the next version if it works well for the script, I have still not found a good solution for the numbers add, but I am still looking in to it, its a bit of a funny one, at the moment, I am having to remove them manually through the .ini output file. (rcdradio_commands.ini)
Thank you for bringing this bug to my attention, I will try create and debug the problem later or tonight or over the weekend.
Glad you love the script! XD