ignoreall/unignoreall
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6209 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -5,6 +5,8 @@ mastermode = [ callvote 3 $arg1 ]
|
||||
autoteam = [ callvote 4 $arg1 ]
|
||||
forceteam = [ callvote 5 $arg1 ]
|
||||
forceme = [ forceteam (findcn $curname) ]
|
||||
ignoreall = [ if $connected [ loop ia 21 [ ignore $ia ] ] ]
|
||||
unignoreall = [ if $connected [ clearignored ] ]
|
||||
giveadmin = [ callvote 6 $arg1 ]
|
||||
map = [ callvote 7 $arg1 $arg2 ]
|
||||
recorddemo = [ callvote 8 1 ]
|
||||
|
||||
@@ -448,6 +448,8 @@ docexample [idlebots 0] [Will enable the bots to move and shoot.];
|
||||
docident [ignore] [Ignore a player.];
|
||||
docargument [A] [client number] [] [0];
|
||||
docremark [You won't see any further game chat or hear any more voice com messages from that player.];
|
||||
docident [ignoreall] [Ignores all players currently on the server.];
|
||||
docident [unignoreall] [Un-ignores all players currently on the server.];
|
||||
docident [inputcommand] [Makes an input perform a certain command.];
|
||||
docargument [I] [input] [] [0];
|
||||
docargument [C] [command] [] [0];
|
||||
|
||||
@@ -1937,6 +1937,26 @@ bind PRINT [ if (strcmp $last_server "") [ remember_server ]
|
||||
<remark>You won't see any further game chat or hear any more voice com messages from that player.</remark>
|
||||
</remarks>
|
||||
</command>
|
||||
|
||||
<command name="ignoreall">
|
||||
<description>Ignores all players currently on the server.</description>
|
||||
<references>
|
||||
<identifierReference identifier="ignore"/>
|
||||
<identifierReference identifier="clearignored"/>
|
||||
<identifierReference identifier="listignored"/>
|
||||
<identifierReference identifier="unignoreall"/>
|
||||
</references>
|
||||
</command>
|
||||
|
||||
<command name="unignoreall">
|
||||
<description>Un-ignores all players currently on the server.</description>
|
||||
<references>
|
||||
<identifierReference identifier="ignore"/>
|
||||
<identifierReference identifier="clearignored"/>
|
||||
<identifierReference identifier="listignored"/>
|
||||
<identifierReference identifier="ignoreall"/>
|
||||
</references>
|
||||
</command>
|
||||
|
||||
<command name="listignored">
|
||||
<description>Print a list of all players that you are currently ignoring.</description>
|
||||
|
||||
Reference in New Issue
Block a user