News:

Come Chat with us live! Learn how HERE!

Main Menu

make !commands

Started by BULLSEYE@linux.be, August 07, 2007, 01:18:07 PM

BULLSEYE@linux.be

well i would like to add some !commands to "our" server

i have the rconpass

but i dnt know how to add commands

can i do this whit rcon?

and how

also i want to know how to make the !command admin lvl 5 only

Caveman

Could you please stop it with your annoying sig.pictures?

BULLSEYE@linux.be

if u have nothing helful to say then dnt post!!!

Lakitu7


Paradox


∧OMG ENTROPY∧

Fluxflashor

Quote from: [email]BULLSEYE@linux.be[/email]well i would like to add some !commands to "our" server

i have the rconpass

but i dnt know how to add commands

can i do this whit rcon?

and how

also i want to know how to make the !command admin lvl 5 only


If you dont want to go the MG site and read it there, this is what you do:
IN ADMIN.DAT

[command]
command = pmon
exec        = exec pmon.cfg
desc        = Turns Private Messages ON
levels       = 4 5


Type this into an admin.dat as an example, then make a new file name in pmon.cfg and type the following into it:

cp "^7Private Messages ^1Disabled"
g_privateMessages 1


You can pretty much do anything you want with custom commands you just need to know the cvar you want to change.

My server we have a bunch of custom commands. One of ours is a scrim on that sets a bunch of stuff for scrims. It locks our server, changes the name of it to MW|ScrimServer, and it also disables global chat.

An example of our old admin.dat with our commands is available for download here:
http://rapidshare.com/files/47558345/custom_commands.zip.html

BULLSEYE@linux.be