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

CS Auto Mark Word (Highlighter)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Ryokin
Senior Member
Join Date: Jan 2010
Old 06-09-2011 , 09:26   CS Auto Mark Word (Highlighter)
Reply With Quote #1

CS Auto Mark Word (Highlighter)
by Ryokin



o0 Description 0o
  • This small plugin marks the choosen word (highlight).


o0 How to use 0o
  • Place word_marking.ini in your addons/amxmodx/configs directory.
  • Add the word that you want to mark in word_marking.ini

o0 Example 0o
  • This is my word_marking.ini :
    Code:
    ; marking word
    
    word
    fun
  • When i say : "don't say bad words okay" and "not fun all at", it will show like this :
  • (Picture by 5c0r|3io)

o0 Change Logs 0o

Code:
* v1.1  
   - Support say team (not work for spectator team).
   - Fix bool on and optimize sth.
* v1.1b
   - No more catch file at plugin_precache and remove bool "on"
   - Fixed a bug
That's all, hope it will be useful
Attached Files
File Type: ini word_marking.ini (27 Bytes, 402 views)
File Type: sma Get Plugin or Get Source (word_marking.sma - 975 views - 3.1 KB)
__________________
NH4CL + NaOH -> NH3 + H2O + NaCL

Last edited by Ryokin; 06-20-2011 at 04:25.
Ryokin is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 06-09-2011 , 10:50   Re: Auto Mark Word
Reply With Quote #2

Cool .
We can make red color for bad word to warning
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
cFG
SourceMod Donor
Join Date: Aug 2009
Location: Poland, Łódź
Old 06-09-2011 , 11:15   Re: Auto Mark Word
Reply With Quote #3

Quote:
Originally Posted by dias View Post
Cool .
We can make red color for bad word to warning
Correct,
Quote:
We can make a team color for bad word to warning
Btw, useful But I preffer sql than nvault.
__________________
HLXBans - worthy successor of AMXBans

Last edited by cFG; 06-09-2011 at 11:18.
cFG is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 06-09-2011 , 13:18   Re: Auto Mark Word
Reply With Quote #4

Easy but cool, i like it (:
Vechta is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 06-09-2011 , 15:46   Re: Auto Mark Word
Reply With Quote #5

Yes, add more colors.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-09-2011 , 16:01   Re: Auto Mark Word
Reply With Quote #6

say commands doesn't show to all players, you seems to have forgot it.
I don't see why you parse file at plugin_precache.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 06-09-2011 , 18:52   Re: Auto Mark Word
Reply With Quote #7

I think you should only make it color the word if it is isolated.

For example, if you put 'hi' in the file, all words beginning with 'hi' would have that part colored

In hit, the hi would be colored
in hike, the hi would be colored

Would be better if only hi was colored if it was alone. Such as 'hi there'

Correct me if I'm wrong.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Ryokin
Senior Member
Join Date: Jan 2010
Old 06-09-2011 , 22:34   Re: Auto Mark Word
Reply With Quote #8

@Conner Can you tell me which better way to hook player say ? Why shouldn't i parse file at plugin_precache ?

@all I think we shouldn't use team color 'cause player name 's color is used team color.
@nikhilgupta345 If you want to match whole word only, simple just add space next to the word
__________________
NH4CL + NaOH -> NH3 + H2O + NaCL
Ryokin is offline
Kidev
Veteran Member
Join Date: Jun 2010
Location: France
Old 06-10-2011 , 13:59   Re: Auto Mark Word
Reply With Quote #9

Nice!

You should add say_team suppport.
__________________
Kidev is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-10-2011 , 15:06   Re: Auto Mark Word
Reply With Quote #10

You should rename this to "word highlighter", I only read this because I didn't know wth work marker was.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Reply



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


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