hello i just made this little script to let admin of my counter-strike 1.6 clan add roster but one thing dont work: when a use exist, instead to say error dont exist, it add it. i cant find the problem, can anyone help
on *:TEXT:!rosters add *:?: {
if ($level($nick) >= 100) {
if ($read(Scripts\txts\Rosters.txt, s, $3-)) {
msg $nick 14«15«0«4 $3- is already a roster! 0»15»14»
halt
}
else {
write Scripts\txts\Rosters.txt $3-
msg #nLegends 14«15«0« Added4 $3- to the rosters. 0»15»14»
msg $nick 14«15«0« Added4 $3- to the rosters. 0»15»14»
}
}
else ($level($nick) < 100) {
msg $nick 14«15«0« Access Denied 70»15»14»
}
}