Smart Slash (Updated 9-29-09)

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Smart Slash (Updated 9-29-09)

Post by greenie »

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.).

Examples:
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.

Cvars:
ss_showcmd 1 // Show what command was used? 1-yes, 0-no
get plugin
get source
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œAdmin Commands”