Jump to content
  • 0

can't use atcommand


hendra814

Question


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  1281
  • Reputation:   170
  • Joined:  06/12/12
  • Last Seen:  

Hi there, i'm making custom script for VIP system using NPC.

using atcommand "@vip 1hour "strcharinfo(0)+"";

 

the result always shown VIP failed.

 

and i look at the doc folder and look into Script_command.txt

i'm found this

 

 

 
*enable_command;
*disable_command;
 
These commands toggle the ability to use atcommand while interacting with an NPC.
 
The default setting, 'atcommand_enable_npc', is defined in 'conf/battle/gm.conf'.
 

 

 

but when i'm looking into gm.conf, that's option not found.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  1281
  • Reputation:   170
  • Joined:  06/12/12
  • Last Seen:  

Thanks @Tarts

 

i'm modified into

 

atcommand "@vip +1h "strcharinfo(0)+'';

 

 

 

and now it's working

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  950
  • Reputation:   180
  • Joined:  04/05/13
  • Last Seen:  

atcommand "@vip +2h "+strcharinfo(0)+"";

Edited by TARTs
  • Upvote 1
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...