View Single Post
  #7  
Old 01-22-2006, 02:20 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default Adding a command

it clearly tells you you need to add 3 things in the source file...

Code:
 To add a new command 3 things must be done: 


1. At the bottom of command.h you must add a prototype for it.

2. Add the function in this file.

3. In the command_init function you must add a call to command_add

for your function. If you want an alias for your command, add

a second call to command_add with the descriptin and access args

set to NULL and 0 respectively since they aren't used when adding

an alias. The function pointers being equal is makes it an alias.

The access level you set with command_add is only a default if

the command isn't listed in the addon.ini file.
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
Reply With Quote