Raised This Month: $ Target: $400
 0% 

Rungroup


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
kill0r
Junior Member
Join Date: Jun 2007
Plugin ID:
30
Plugin Version:
0.2.1.19
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Run cmds to a group of clients.
    Old 06-17-2007 , 05:14   Rungroup
    Reply With Quote #1

    Description:
    Run cmds to a group of clients.

    Examples:
    Kick all:
    sm_rungroup all sm_kick ##id
    All except yourself (by name):
    sm_rungroup all-self sm_kick #name
    All dead cts, but not bots or admins:
    sm_rungroup ct=dead-bot-admin sm_kick ##id
    Specteam, unassigned team and players with userid 3 and 5
    sm_rungroup spec+unas+3+5 sm_kick ##id
    Specteam by number without admins
    sm_rungroup team1-admin sm_kick ##id

    The first # before #id is the # for sm_kick:
    sm_kick <#userid|name> [reason]

    Details:
    Requires generic admin flag (b), dissolved cmds are run through FakeClientCommand.

    sm_rungroup <targets without whitespaces> <cmd[ args with #id or #steam or #name]*>

    sm_rungroup
    without any args will display a short help, and a list of available targetnames.


    targets:
    - all, bot, human, alive, dead, self, notadmin
    - me
    - alias of self
    - picker
    - the player you are aiming at
    - lookat - alias of picker
    - teamX - if unknown mod, you can target them by teamid
    - userid of a client
    - admin - clients that have only the reservationflag are not admins
    - [modspecific] - see addons/sourcemod/gamedata/rungroup.games.txt
    CS:S: unas, spec, t, ct

    operators:
    + clients from a and clients from b
    - clients from a without clients of b
    = clients that are in group a and b

    Test:
    sm_rungroup all sm_rcon say #id #steam #name
    sm_rungroup all "sm_rcon say #id #steam #name"

    Note:
    Copy rungroup.games.txt to addons/sourcemod/gamedata/rungroup.games.txt to have mod-specific teamnames

    Changelog:
    Quote:
    0.2.1.19
    - added the ability to automatically restore the default teamfile if it's missing (autoupdater compatible, fallback-mode)
    0.2.0.18
    - added "me" as alias of "self"
    - added "lookat" and "picker"
    - fixed bug where plugin was loading only one team from rungroup.games.txt caused by this bugfix http://svn.alliedmods.net/viewvc.cgi...&revision=1008 ^^
    - moved rungroup.games.txt to addons/sourcemod/gamedata/rungroup.games.txt
    - added tf to rungroup.games.txt
    0.1.5.17
    - a few bugs fixed
    - more targets
    0.1.0.16
    - Public Release
    Attached Files
    File Type: sp Get Plugin or Get Source (rungroup.sp - 2124 views - 14.8 KB)
    File Type: txt rungroup.games.txt (1.2 KB, 914 views)

    Last edited by kill0r; 03-07-2008 at 08:33.
    kill0r is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:38.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode