Hi Annie Ruru
i already test this script but got this error " [Warning]: npc_scriptcont: failed npc_checknear test."
- script AutoFunEvent -1,{
OnWhisperGlobal:
OnClock2030:
set .@rand, rand(2000000000);
while ( getusers(1) > .@count ) {
set .@nb, query_sql("select account_id from `char` where online = 1 order by rand("+ .@rand +") limit 128 offset "+ .@count, .@aid );
set .@i, 0;
while ( .@i < .@nb ) {
if ( attachrid(.@aid[.@i]) ) {
if ( getgmlevel() < 60 && !checkvending() ) { // false condition
announce strcharinfo(0) +" won", 0;
getitem 501,1;
end;
}
}
set .@i, .@i +1 ;
}
set .@count, .@count + 128;
sleep ( getusers(1) > .@count );
}
end;
}