From 2f03a9e035156783e62a65c06360b633dd3ca884 Mon Sep 17 00:00:00 2001 From: Bukz Date: Sun, 3 Apr 2011 03:32:29 +0000 Subject: [PATCH] forceme git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6207 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/admin.cfg | 1 + config/docs.cfg | 1 + docs/reference.xml | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/config/admin.cfg b/config/admin.cfg index 4ec3a75b..ac4438cd 100644 --- a/config/admin.cfg +++ b/config/admin.cfg @@ -4,6 +4,7 @@ removebans = [ callvote 2 $arg1 ] mastermode = [ callvote 3 $arg1 ] autoteam = [ callvote 4 $arg1 ] forceteam = [ callvote 5 $arg1 ] +forceme = [ forceteam (findcn $curname) ] giveadmin = [ callvote 6 $arg1 ] map = [ callvote 7 $arg1 $arg2 ] recorddemo = [ callvote 8 1 ] diff --git a/config/docs.cfg b/config/docs.cfg index cae502a6..4d38440e 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -1313,6 +1313,7 @@ docident [deleteservermap] [Deletes a map from the current server.]; docargument [A] [map name] [] [0]; docident [forceteam] [Forces the specified player to join the enemy team.]; docargument [CN] [The player to assign to a team] [Client number] [0]; +docident [forceme] [Calls a vote to forceteam yourself to the enemy team.]; docident [giveadmin] [Gives admin state to the specified player.]; docargument [CN] [The player to become admin] [Client number] [0]; docremark [Requires admin state. The admin will lose his admin state after successfully issuing this command.]; diff --git a/docs/reference.xml b/docs/reference.xml index 4d9e9ec7..29b56727 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -4917,6 +4917,13 @@ Output: + + + Calls a vote to forceteam yourself to the enemy team. + + + + Gives admin state to the specified player.