Quote:
Originally Posted by psychokilla
Good to know it should work, but I have my admins listed in admins.txt, so only those who have access to admin functions would be able to kick surely?
Because anyone trying to kick without admin access would be told that it's an unknown command.
|
Nooo-- the script you posted causes those commands to be run on the
server console not on the player's console. You have to be careful about that. It's just like running "ma_kick 1" from a cfg file-- it's translated as an rcon/console command.
If you want the admins to execute it themselves, you need to use Mani's client execute command, ma_cexec. For example:
Code:
if (server_var(mycommand) equalto "!burn") then es ma_cexec event_var(userid) ma_burn server_var(myvar)
This causes Mani to tell their client to execute the command in their client's console. As such, it will be subject to Mani's security.
Hope this helps,
-Mattie