Raised This Month: $32 Target: $400
 8% 

[Dystopia/ANY] Chat Triggers for callvote Commands (1-21-2016, v3.0)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dysemjay
Junior Member
Join Date: Nov 2015
Plugin ID:
5014
Plugin Version:
3.0
Plugin Category:
General Purpose
Plugin Game:
Dystopia
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Hooks say and say_team to provide chat triggers for callvote.
    Old 01-21-2016 , 03:11   [Dystopia/ANY] Chat Triggers for callvote Commands (1-21-2016, v3.0)
    Reply With Quote #1

    A very simple plugin to create basic chat triggers for "callvote" commands. It will do so by checking the contents of chat messages submitted using the "say" and "say_team" commands. If the chat message begins with "/callvote" for the silent chat trigger, or "!callvote" for the public chat trigger, then the contents of the chat message after the trigger will be executed as a fake client command. More information about chat triggers may be found here: https://wiki.alliedmods.net/Commands...#Chat_Triggers

    Note that the functionality of this plugin is limited in that it will not echo console messages generated by the callvote command to the player's chat.

    Example:
    Code:
    say "/callvote map_restart"
    Should be equivalent to entering the following into console:
    Code:
    callvote map_restart
    There should be no chat message generated by this example.

    Changelog:
    Code:
    1-21-2016 (v3.0)
    
    * First release.
    Attached Files
    File Type: sp Get Plugin or Get Source (callvoteChatTriggers3.0.sp - 586 views - 1.6 KB)

    Last edited by dysemjay; 01-21-2016 at 03:12. Reason: Update plugin source to contain the URL of this thread.
    dysemjay is offline
    Reply



    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 07:03.


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