This plugin allows admins to execute console commands using 'say' and a slash '/'.
* Note that the console commands can be prefixed with anything (amx_, sh_, pm_, etc.) or cannot be prefixed at all (amxmodmenu, uaio_menu, etc.).
- say /amx_slap Roach
- say /kick Rukia
- say /pokemod on
- say /amx_glow Emp kat
- say /glow Emp kat
The plugin removes what the player said from chat only if what was said is a valid console command.
This plugin does not interfere with other plugins, so it does not need to be at the bottom of the plugins.ini.
Additionally, there are several new features.
If commands do not have @TEAM functionality, SmartSlash can detect them and can try to emulate them.
SmartSlash also has @ functionality and displays a menu of all players and available teams when there is an @ in the command.
Another new feature is player detection. If SmartSlash detects that a nickname should be used, and there are multiple matches to the nickname you supplied, a menu is shown with all matches.
However, SmartSlash also supports other types of quick commands:
- ? - search - use instead of a / for a menu with all matching commands. Ex: ?slap shows a menu for amx_slap and amx_uberslap (if both are available)
- \ - repeater - use instead of a / for the command to be repeated every round start (only available for CS)
We don't stop there though. SmartSlash keeps track of all previous commands executed through itself. To see a menu with all of these commands, just say "/".
The enabled repeaters can be displayed by saying "\". Selecting one from the menu will remove it as a repeater.
ss_showcmd 1 // Show what command was used? 1-yes, 0-no