On here
if ($1 == !addquote) {
if ($nick isin $readini(quotes.ini,bans,bans)) {
/msg $chan You are banned from quotes. Please see a quote moderator to resolve this problem.
}
elseif ($2-) {
/write quotes.txt $+ $strip($2-) $+ $chr(124) Quoted by $nick $chr(124) Added on $fulldate $chr(124) There are $ $+ readini(quotes.ini,stats, $+ $nick $+ ) quotes submitted by $nick $chr(124) $ $+ calc($ $+ readini(quotes.ini,stats, $+ $nick $+ ) / $ $+ readini(quotes.ini,stats,all) * 100 ) percent of all quotes.
/msg $chan Added as quote $lines(quotes.txt)
/writeini quotes.ini stats $nick $calc($readini(quotes.ini,stats,$nick) + 1 )
/writeini quotes.ini stats all $calc($readini(quotes.ini,stats,all) + 1 )
}
}
How do I set it to owner/mod only can add? I'm receiving errors from my if ($nick isin $readini(quotes.ini,owner,owner)) ..
Please do help me, thanks in advance.