try this?
- script kick -1,{
OnInit:
setarray .name$,"John","Joe","Joel";
end;
OnPCLoginEvent:
if( ( gettime(3) >= 12 && gettime(3) < 16 ) )
{
for( set .@i,0; .@i < getarraysize( .name$ ) - 1; set .@i,.@i + 1 )
if( strcharinfo(0) == .name$[.@i] ) atcommand "@kick " + strcharinfo(0);
}
end;
}