AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Any] Multi Prefixes (https://forums.alliedmods.net/showthread.php?t=250224)

ofir753 10-20-2014 08:28

[Any] Multi Prefixes
 
1 Attachment(s)
[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)

Chdata 10-20-2014 15:08

Re: [Any] Multi Prefixes
 
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; }

ofir753 10-21-2014 11:47

Re: [Any] Multi Prefixes
 
Quote:

Originally Posted by Chdata (Post 2213626)
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?

Chdata 10-21-2014 13:26

Re: [Any] Multi Prefixes
 
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 10-26-2014 12:51

Re: [Any] Multi Prefixes
 
Okay after thinking about it, this is a very nice plugin, much easier to type public commands with .label instead of !command


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

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