Jump to content
  • 0

How can i set the atcommand?


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

how can i set the lvl of atcommand_athena.conf

/* Atcommands and charcommands configuration file */

/* The symbol that will be used to recognize commands.

You can set any one character except:

- control-characters (0x00-0x1f),

- '%' (party chat symbol)

- '$' (guild chat symbol)

- '/' (client commands symbol)

atcommand_symbol represents @commands used locally.

charcommand_symbol represents #commands used on other players.

*/

atcommand_symbol : "@"

charcommand_symbol: "#"

/* Command aliases

You can define aliases for any command. Aliases work just like original

command.

Format is

<commandname>: ["<alias>", ...]

*/

aliases: {

mobinfo: ["monsterinfo", "mi"]

iteminfo: ["ii"]

time: ["date", "serverdate", "servertime"]

autotrade: ["at"]

help: ["h"]

jumpto: ["goto", "warpto"]

mount: ["mountpeco"]

who: ["whois"]

npctalk: ["npctalkc"]

gvgon: ["gpvpon"]

gvgoff: ["gpvpoff"]

jobchange: ["job"]

load: ["return"]

warp: ["rura", "mapmove"]

dye: ["ccolor"]

hairstyle: ["hstyle"]

haircolor: ["hcolor"]

monster: ["spawn"]

blvl: ["lvup", "blevel", "baselvl", "baselvup", "baselevel", "baselvlup"]

jlvl: ["jlevel", "joblvl", "joblvup", "joblevel", "joblvlup"]

glvl: ["glevel", "guildlvl", "guildlvup", "guildlevel", "guildlvlup"]

allskill: ["allskills", "skillall", "skillsall"]

allstats: ["allstat", "statall", "statsall"]

ban: ["banish"]

unban: ["unbanish"]

unjail: ["discharge"]

homlevel: ["hlvl", "hlevel", "homlvl", "homlvup"]

homevolution: ["homevolve"]

mutearea: ["stfu"]

monsterignore: ["battleignore"]

raise: ["revive"]

kill: ["die"]

}

/* Commands help file */

help: {

@include "conf/help.txt"

}

example. i want to set the. @item on lvl 80 how can i do that?

sorry for noob question

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  224
  • Reputation:   22
  • Joined:  03/23/12
  • Last Seen:  

In groups.conf make yourself a lvl 80 group then add the command there.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

can u give me an example?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  224
  • Reputation:   22
  • Joined:  03/23/12
  • Last Seen:  

{
   id: 80
   name: "Law Enforcement"
   inherit: ( "Head-Supporter" )
   level: 80
   commands: {
      item: true
   }
   log_commands: true
   permissions: {
       join_chat: true
       kick_chat: true
       hide_session: true
       who_display_aid: true
       hack_info: true
       any_warp: true
       view_hpmeter: true
   }
},

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

the use of atcommand_athena.conf is to make an alias on an existed commands.

kill: ["die"]

kill is already added on the commands. but if you want to make a custom command. like dead

you will add it there instead of making a new entry.

kill: ["kill", "dead"]

so you can now use @dead.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

how about. @delitem on lvl 20. but the #delitem is on lvl 99 how can i do that?

Link to comment
Share on other sites


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

try put at the level 20 gm

delitem : [true,false]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

@emistry.

{

id: 1

name: "Super Player"

inherit: ( "Player" ) /* can do everything Players can and more */

level: 0

commands: {

/* informational commands */

commands: true

charcommands: true

help: true

rates: true

uptime: true

showdelay: true

exp: true

mobinfo: true

iteminfo: true

whodrops: true

time: true

jailtime: true

hominfo: true

homstats: true

showexp: true

showzeny: true

whereis: true

/* feature commands */

refresh: true

noask: true

noks: true

main: true

autoloot: true

alootid: true

autotrade: true

request: true

go: true

}

how can i set it on there

?

Link to comment
Share on other sites


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

just add what i show you in the previous post inside the commands there...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

i got error

request: true,false

on this command

oh thx!

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