Jump to content
  • 0

@command aliases


ruflux

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  09/09/12
  • Last Seen:  

i have a problem with atcommand_athena.conf

aliases for the commands does not work

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


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

elaborate more....how you write your aliases command...show it...

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

That's because you have to declare your aliases in the src right? Unless i'm missing something.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

@GmOcean: No, you declare them directly in atcommand_athena.conf (it's heavily modified from eA's conf).

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

i have a problem with atcommand_athena.conf

aliases for the commands does not work

Make sure you are using the @command name as defined in the source (trunk/src/map/atcommand.c)

For example, @jumpto:

		ACMD_DEF(jumpto),

This will work in trunk/conf/atcommand_athena.conf

jumpto: ["goto", "warpto"]

but this will not work:

goto: ["jumpto", "warpto"]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

I didn't know you could do that now lol, well, either way, i can still make them the old fashion way, and hard-code them to the src if i needed too, since i already did that for a few commands, not knowing about 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...