Verdigin kodları düzenledim buyur.
Kod: Kodu kopyalamak için üzerine çift tıklayın!
alias helpekle return $iif(!$ini(help.ini,$1,$2),1,$calc($readini(help.ini,$1,$2) + 1))
alias helpgoster return $iif(!$readini(help.ini,$1,$2),0,$readini(help.ini ,$1,$2))
on *:kick:#Oyun: { helpadd $nick kick $helpekle($nick,kick) }
on *:rawmode:#Oyun: {
if ($1 == +v) { helpadd $nick voice $helpekle($2,voice) }
if ($1 == -v) { helpadd $nick devoice $helpekle($2,devoice) }
if ($1 == +b) { helpadd $nick ban $helpekle($2,ban) }
if ($1 == +b) { helpadd $nick unban $helpekle($2,unban) }
}
on *:input:!bilgi*:#OyunTeam: {
if ($2 == $null) { goster | return }
if ($2 == -r) { goster -r }
else { goster $2 }
}
alias goster {
if ($ini(help.ini,0) == 0) { msg #Oyunteam Operatorlere Adina Kayit Bulunmamaktadir. | return }
if ($1 == $null) { var %x = 1,%y = $ini(help.ini,0) | while (%x <= %y) {
msg #Oyunteam Operator: $($chr(2),$ini(help.ini,%x),$chr(2)) Voice: $+($chr(2),$helpgoster($ini(help.ini,%x),voice),$chr(2)) Devoice: $+($chr(2),$helpgoster($ini(help.ini,%x),devoice),$chr(2)) Ban: $+($chr(2),$helpgoster($ini(help.ini,%x),ban),$chr(2)) UnBan: $+($chr(2),$helpgoster($ini(help.ini,%x),unban),$chr(2)) Kick: $+($chr(2),$helpgoster($ini(help.ini,%x),kick),$chr(2)) | inc %x } }
else {
if ($1 == -r) { msg #oyunteam Operatorlere Ait Butun Bilgiler Sifirlanmistir. | write -c help.ini | return }
if ($ini(help.ini,$1) == 0) { msg #Oyunteam $1 Nickine Ait Bilgi Bulunmamaktadir! | return }
msg #Oyunteam Operator: $($chr(2),$1,$chr(2)) Voice: $+($chr(2),$helpgoster($1,voice),$chr(2)) Devoice: $+($chr(2),$helpgoster($1,devoice),$chr(2)) Ban: $+($chr(2),$helpgoster($1,ban),$chr(2)) UnBan: $+($chr(2),$helpgoster($1,unban),$chr(2)) Kick: $+($chr(2),$helpgoster($1,kick),$chr(2))
}
}