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

Smart Slash (Updated 9-29-09)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Orangutanz (13)
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-13-2008 , 18:48   Smart Slash (Updated 9-29-09)
Reply With Quote #1

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:
Code:
ss_showcmd 1 // Show what command was used? 1-yes, 0-no
Attached Files
File Type: sma Get Plugin or Get Source (smart_slash.sma - 2869 views - 23.7 KB)

Last edited by Emp`; 10-08-2009 at 14:29.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
 


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


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