I edited this, i made it so you dont have to have an .ini , btw $mta.name($1,%a) isnt a command, but $mta.nick($1,$2)/$mta.nick($1,%a) Is!
Here:
elseif (!admin* iswm $3) {
var %a = 0,%b,%c
while (%a <= $mta.maxplayers($1)) {
if ($mta.level($1,%a) >= 6) %b = $iif(%b,%b $+ $chr(44) $mta.nick($1,$2),$mta.name($1,$2)) $+ (Level: $mta.level($1,$2) $+ )
elseif ($mta.level($1,%a) >= 2) %c = $iif(%c,%c $+ $chr(44) $mta.nick($1,$2),$mta.nick($1,$2)) $+ (Level: $mta.level($1,%a) $+ )
!inc %a
}
mta.text $1 $iif(%b,Admins: %b,There Are no Admins Currently Online.)
}
}
Add the script above to a list of commands at the bottom of : on *:SIGNAL:mta.command: {
This script below you can add to the TOP of: on *:SIGNAL:mta.command: {
if (!admin* iswm $3) {
var %a = 0,%b,%c
while (%a <= $mta.maxplayers($1)) {
if ($mta.level($1,%a) >= 6) %b = $iif(%b,%b $+ $chr(44) $mta.nick($1,$2),$mta.name($1,$2)) $+ (Level: $mta.level($1,$2) $+ )
elseif ($mta.level($1,%a) >= 2) %c = $iif(%c,%c $+ $chr(44) $mta.nick($1,$2),$mta.nick($1,$2)) $+ (Level: $mta.level($1,%a) $+ )
!inc %a
}
mta.text $1 $iif(%b,Admins: %b,There Are no Admins Currently Online.)
}
Hope this bug free thing helps ^^
Greetz,
Kika592
//////////
-XIII-4Cazp.UK