Creating a completely new command? -1 reply

Please wait...

Tacticious

Vicious Tacticious

50 XP

3rd January 2004

0 Uploads

25 Posts

0 Threads

#1 12 years ago

Hey all. I've recently dove into the pool of modding. I was wondering how I would go about creating my own command. I would first like to start off simple by creating a command requiring only one arguement, which would be a person's name. For example, I'd like the ability to type this into the console:

/Command

All I need to know is: 1. How to script the command itself, or where to put the command in script (which file(s) to edit or create). 2. How to get the player's name from the command.

I can script, I just don't know how to go about creating my own command. Any help appreciated, thanks.