Jump to content
Samuel

Custom @command

Recommended Posts

Hello everyone!

 

Saw this feature in RagEmu so I adapted their code and turned it into a plugin.

 

With this plugin enabled, custom commands that were created using bindcmd will be shown when you use @command depending on the gm level the account has if that custom command is available for his level.

 

Enjoy!

 

Credits to: RagEmu

 

Link

Share this post


Link to post
Share on other sites

Hello everyone!

 

Saw this feature in RagEmu so I adapted their code and turned it into a plugin.

 

With this plugin enabled, custom commands that were created using bindcmd will be shown when you use @command depending on the gm level the account has if that custom command is available for his level.

 

Enjoy!

 

Credits to: RagEmu

 

Link

 

I would like to add commands cming with plugins to custom commands field, any idea on how to add them, like manually by editing this .c, or any other way ?

 

I tried to bind commands with ony sleep 1, so it would show up at using @commands, but unforunatly that overrides the initial plugin command (just as I did expect).

 

:hmm:

Share this post


Link to post
Share on other sites

Why can't this be added to the source of Hercules rather than a plugin. Reasons - 

1) @commands are a custom feature.

2) Bindatcmd is a custom feature.

3) without this Bindatcmd seems incomplete.

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.