Jump to content
  • 0

which line to add @afk.. im confused


barai7

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  07/26/12
  • Last Seen:  

which line to add @afk.... im confused

senior please help me :((

sorry my noobie english.

Edited by barai7
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  244
  • Reputation:   11
  • Joined:  09/02/12
  • Last Seen:  

what do you mean? can you clear it?

Link to comment
Share on other sites


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

inside here..

https://rathena.svn....map/atcommand.c

and there is no specific line where you can post it...

you can just find this...

ACMD_FUNC(unloadnpcfile) {

if( !message || !*message ) {
 clif_displaymessage(fd, msg_txt(1385)); // Usage: @unloadnpcfile <file name>
 return -1;
}

if( npc_unloadfile(message) )
 clif_displaymessage(fd, msg_txt(1386)); // File unloaded. Be aware that mapflags and monsters spawned directly are not removed.
else {
 clif_displaymessage(fd, msg_txt(1387)); // File not found.
 return -1;
}
return 0;
}

then put your @AFK code under there......

then find

 ACMD_DEF(unloadnpcfile),

put below..

 ACMD_DEF(<afk or whatever>),

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