totally wrong i know
shud be like this:
Guy: !members
Members online: Boylett, Paddy, Maya
or
Members online: There are currently no members online
here codes
on *:SIGNAL:mta.command:{
if (!members* iswm $3) {
var %a = 0,%b
while (%a <= $mta.server($1).cmax) {
if ($readini($scriptdir $+ members.ini,$mta.nick($1,%a)) >= 1) {
if (!%b) %b = $mta.nick($1,%a)
elseif (%b) %b = %b $+ , $mta.nick($1,%a)
}
!inc %a
}
mta.text $1 $iif(%b,Members online: %b,There are currently no members online)
}
}
and ini
[Members]
{XN}Paddy
{XN}Boylett
{XN}Tomson
{XN}Killer-Bee
{XN}Gun
{XN}Yogi
{XN}GioSerpo