on $:text:/^!subs\b/Si::{
if ($nick isop #) {
if ($2 == list) || (!$2) {
if ($ini(sub.ini,$chan,0)) {
var %a 1, %z $ini(sub.ini,$chan,0)
msg # # has %z sub(s)
}
else { msg # No subs for $chan $+ .
}
}
if ($2 == add) {
if (!$3) {
msg # please specify whom to add.
}
else { writeini sub.ini $chan $3 subbed
msg # " $+ $3- $+ " has been added to the list
}
}
if ($2 == remove) {
if (!$3) {
msg # please specify whom to remove.
}
else {
if ($readini(sub.ini,$chan,$3)) {
remini sub.ini $chan $3
msg # Removed " $+ $3 $+ " from the list
}
}
}
}
}
I think this should do what you want. I hope.
What your problem what, is you weren't adding a identifier to the names. Which the ini files calls for one. So when you did the ADSGF 1 the 1, I assume would go as an Identifier.
as ini files appear somewhat as
Subs.ini <- file
Channel
NICK=Identifier
So without that identifier it didn't know how to write it.