on *:text:!weapon *:#: {
if (%Gamescript.On. [ $+ [ $chan ] ] != $null) {
if ($nick isop $chan) {
var %k = $+($chan)
var %n $ini(weapons.ini,#,0)
if ($2 == add) {
inc %n
writeini weapons.ini %k %n $3-
msg $chan The weapon " $+ $3- $+ " has been added.
}
if ($2 == delete) {
if { I don't know what goes here?
msg $chan The weapon " $+ $3- $+ " was removed.
}
else {
msg $chan The weapon " $+ $3- $+ " was not found.
}
}
}
}
}