freehit21's post in N> Script was marked as the answer
sir kido i actually looking for hourly points..
anyway i fixed my own script on our server here's mine..
----------------------------------------------------------------------------------------------
- script hourlypoints -1,{
//--Start of the Script
OnPCLoginEvent:
attachnpctimer ""+strcharinfo(0)+"";
initnpctimer;
end;
OnTimer30000:
//Check if Vending (normal or @at)
if(checkvending() >= 1 || checkchatting() == 1) {
dispbottom "The ___ Ragnarok Online playing points event stopped because you were vending / chatting. Please relog if you wish to start again.";
stopnpctimer;
end;
}
//Check if Idle
getmapxy( .@map$, .@x, .@y, 0 );
if(@map$ == .@map$ && @x == .@x && @y == .@y) {
set @afk, @afk + 1;
}
//If move timer resets
else {
set @afk, 0;
}
set @map$, .@map$; set @x, .@x; set @y, .@y;
//Idle Check for 15 Minutes
if(@afk == 15) {
dispbottom "The ____ RO playing game time event stopped because you were idle for 5 minutes. Please relog if you wish to start again.";
stopnpctimer;
end;
}
end;
OnTimer59999:
set @min_check,@min_check + 1;
set @minute, @minute + 1;
if(@minute == 30){
set @minute,0;
getitem 7227,100;
getitem 20080,100;
dispbottom "You've been online for "+@min_check+" minutes.";
initnpctimer;
}
stopnpctimer;
initnpctimer;
end;
}
-------------------------------------------------------------------------------------------------
its on 30mins basis
if youre online for every 30mins its say's like this
>>>> You've been online for 30 minutes.
>>>> You've been online for 60 minutes.
>>>> You've been online for 90 minutes.
>>>> You've been online for 120 minutes.
something like that without being idle or afk.. thanks for those who helps
thank you to all the devs here.