Raised This Month: $12 Target: $400
 3% 

[Any] Multi Prefixes


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ofir753
Senior Member
Join Date: Aug 2012
Plugin ID:
4391
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 10-20-2014 , 08:28   [Any] Multi Prefixes
    Reply With Quote #1

    [Any] Multi Prefixes (1.0)

    What's this?
    This plugin Enable multi prefixes for commands for example:
    If you set "." to a normal prefix .admin command will work.


    Cvars
    prefix_chars <list of chars> - list of normal prefixes to commands
    prefix_silentchars<list of chars> -
    list of silent prefixes to commands (will not show the command)

    How to Install
    Place the smx file in the plugins folder.(the config will generated automaticly at cfg/sourcemod/multiprefixes)
    Attached Files
    File Type: sp Get Plugin or Get Source (mutliprefixes.sp - 817 views - 3.0 KB)
    ofir753 is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 10-20-2014 , 15:08   Re: [Any] Multi Prefixes
    Reply With Quote #2

    Will this allow me to make specific !prefixes silent?

    It's a hassle to make chat related plugins have something like if (StrContains(str, "!prefix ") == 0) { return Plugin_Handled; }
    __________________

    Last edited by Chdata; 10-20-2014 at 15:09.
    Chdata is offline
    ofir753
    Senior Member
    Join Date: Aug 2012
    Old 10-21-2014 , 11:47   Re: [Any] Multi Prefixes
    Reply With Quote #3

    Quote:
    Originally Posted by Chdata View Post
    Will this allow me to make specific !prefixes silent?

    It's a hassle to make chat related plugins have something like if (StrContains(str, "!prefix ") == 0) { return Plugin_Handled; }
    What do you mean like if you write "!prefix admin" it will do asilent command?
    ofir753 is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 10-21-2014 , 13:26   Re: [Any] Multi Prefixes
    Reply With Quote #4

    Actually nvm, I figure if I do this...

    prefix_silentchars !

    Then all commands like !prefix will be made silent, right?
    It'd be cool if we could just make one command silent at a time too ;p
    __________________
    Chdata is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 10-26-2014 , 12:51   Re: [Any] Multi Prefixes
    Reply With Quote #5

    Okay after thinking about it, this is a very nice plugin, much easier to type public commands with .label instead of !command
    __________________
    Chdata is offline
    Reply


    Thread Tools
    Display Modes

    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 06:15.


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