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

Trunc Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   v3x (159)
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-25-2006 , 01:36   Trunc Commands
Reply With Quote #1

This plugin allows you to trunc commands. For instance, you can trunc "amx_" to "x". Than any command entered that starts with "x" will be reformatted to "amx_".

Just a little plugin made on demand.

trunc'ing work son both server and client commands, though the server command implimentation is a little ugly. Oh well!

Works by changing defines, may move it to CVAR.
Attached Files
File Type: sma Get Plugin or Get Source (trunc.sma - 1314 views - 1.8 KB)
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-25-2006 , 02:21  
Reply With Quote #2

I remember this request too. Long time ago.
http://forums.alliedmods.net/showthread.php?t=18812
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 03-25-2006 , 02:23  
Reply With Quote #3

Yeah. I did it a long time ago, and never uploaded it. Just thought it was a neat little proof of concept.

Its a bit ugly, but eh.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
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:35.


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