Re: Ultimate Chat + Addons
The file is in regular expression. normal words can be used of course as they are also expressions. Just very static ones.
Regex enables you to make it more dynamic. I suggest watching these tutorials on YouTube from Derek Banas: https://www.youtube.com/playlist?lis...4F2FDD28D0C40E \d+\D+\d+\D+\d+\D+\d+(?:\D+\d+)? This will catch any number of digits followed by any number of non digits, repeated 3 times without the non-digits at the end and optional port after that. It is very vague but there's no good way around it. The problem is that it will also catch for example: "Hello, I got 25 kills, 10 deaths. That will make a k:d ratio of 2.5. Amaze" But who writes 4 numbers in once sentence? I don't think that's very common. |
Re: Ultimate Chat + Addons
Quote:
So i add this line just like that ? PHP Code:
How about bad words i have some problems cuz of fk can you learn me simple way ? i'm suing line like PHP Code:
Without videos just small examples please and thanks :) And i want to ask you how to block, say /rs I just want to block some commands from being on chat like say /rs say /rank but i don't one to hide words cuz i'm using ad_manger, they use say /ip to spam ip ( on other chat plugins ), I mean i just want to block registered commands like rs rank.. i tried to put the plugins under restscore.amxx and up, same :\ Please help great job again :) |
Re: Ultimate Chat + Addons
Quote:
Quote:
Did not understand the part about /rs, /rank and /ip. |
Re: Ultimate Chat + Addons
Quote:
Some chat plugins block them, i mean when you right /anything no one see it, but in your plugin we can see, i don't want to see them i just want to block /rs and /rank i mean registered commands not anything after / |
Re: Ultimate Chat + Addons
2 More, when admins say /top15 the server prints op15 with team color, can you remove /t /g /y /n ?
Also, can you check admins chat ? Or add admins chat with your plugin, it should be really ultimate, admins chat is cool, but after we mute a player, he use admin chat to insult, so please make when player muted can't use admins chat and also make admins chat filtered by swear filter.. Thanks. |
Re: Ultimate Chat + Addons
Quote:
Code:
It's all about where you place this plugin in the plugins.ini because that determines in which order everything is called, but the code above eliminates that problem. ...unless I'm not understanding you correctly. Quote:
Quote:
|
Re: Ultimate Chat + Addons
Quote:
BTW, i tried two but same.. |
Re: Ultimate Chat + Addons
I thought that some other plugin was supposed to block them.
If not, you can use this: Code:
|
Re: Ultimate Chat + Addons
Quote:
That's what what i want :) You can make add it on first post ultimate_chat_block.sma it will be cool for most.. Thanks a lot. EDIT: where to place this plugin, above or under ultimate chat ? |
Re: Ultimate Chat + Addons
Quote:
If I were to release that I should at least make it read from a file. |
All times are GMT -4. The time now is 21:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.