Jump to content
  • 0

master emistry script reward per hour


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

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. =)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

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...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

okay master so i just remove the @afk to players then. thanks a lot for the time master.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

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?

Link to comment
Share on other sites

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.

×
×
  • Create New...