Jump to content
  • 0

master emistry script reward per hour


Question

Posted

master if your online i would like to request your script to even @afk no tcg per hour thanks master a lot. =)

 

-    script    Sample    -1,{
OnUpdate:
if( !checkvending() ){
    set @Minute,@Minute + 1;
    if( @Minute % 60 == 0 ){
        getitem 7227,10;
        dispbottom "Online for 1 Hours +10 TCG Card.";
        set @Hour,@Hour + 1;
        if( @Hour % 5 == 0 ){
            getitem 7227,200;
            dispbottom "Online for 5 Hours +200 TCG Card.";
        }
    }
}
OnPCLoginEvent:
addtimer 60000,strnpcinfo(0)+"::OnUpdate";
end;
}

 

 



btw im using eathena. =)

3 answers to this question

Recommended Posts

Posted

the current emulator has no way to detect the player using @afk or not...

unless your @afk are using chatroom then we can use checkchatting to check it..

or...your @afk will set a variable...or player mode...then have a command to check on it ...

or you can use @afk will stop the timer...using deltimer

otherwise...there is no way to check a player using @afk or not...

Posted

the current emulator has no way to detect the player using @afk or not...

unless your @afk are using chatroom then we can use checkchatting to check it..

or...your @afk will set a variable...or player mode...then have a command to check on it ...

or you can use @afk will stop the timer...using deltimer

otherwise...there is no way to check a player using @afk or not...

 

 

master i have a hint about @afk... @afk script get from @autrade it just remove some part of the script from vending i saw the @afk in map server like this Fofo log off using <@autotrade>. can still be possible? i think its same like autotrade

 

if( !checkvending() ){

 

 

change to

if( at_commands @autotrade () ){ like this?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...