Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

10 934 Posts in 6 309 Topics- by 1 216 Members - Latest Member: santini862

1 October 2020, 08:19
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumRussian talksСкриптинг (Moderator: runkoff)Антимат
Pages: 1 2 [3]
Print
Author Topic: Антимат  (Read 69177 times)
0 Members and 1 Guest are viewing this topic.
Hadros
Новичок
*

Репутация: 7
Gender: Male
Posts: 32


250254035
View Profile
« Reply #30 on: 16 March 2008, 03:41 »

А вот этого я не знал и даже не догадывался. Еще удивлялся, зачем в самом начале пробелы добавляете слева и справа. Правильно ли я понял: если я хочу поймать одно слово целиком, например "тест", то в словаре надо писать * тест *, а если какие либо совпадения, например любые слова начинающиеся на "тест", "тестовый", "тестовая", тогда маска в словаре должна быть "* тест*", т.е. в начале пробел есть, а в конце его нет ? И тоже самое касается знака одного символа - "?" ?
да. все знаки препинания заменяются на пробелы и вначале/конце строки добавляется порбел: получается "* тест*" найдёт слово "тестовый"; "* тест *" найдёт слово "*тест*"; "*тест *" найдёт слово "протест"; "* т?ст *" найдёт слова "тист", "тост", и т.д.
Ага, а здесь значит можно просто указать сами слова исключения без каких-либо знаков, например "себя", "себе" ?
да
Logged

Eru shitteiru ka shinigami wa ringo shika tabenai
hr[e]w
Новичок
*

Репутация: 0
Gender: Male
Posts: 5



View Profile Email
« Reply #31 on: 21 March 2008, 14:18 »

Вот выкладываю, но только обработчик onChanelMessage:
Code:
%b_halt = 0
if((%Chanels{$chan.name}==1)&&(!%ExUsers{$2}))
foreach(%word,%X_words)
if(!$str.grep(%word,$3,"r")==0)
if(($isMeHalfOp||$isMeOp)&&!%b_halt)
{
if(%X_users{$2}{$chan.name}==0)
{
if($str.grep(c,$chan.mode) == "")%mod_c = 0
else %mod_c = 1
if(!%mod_c)
Ъ $0 "мат на канале запрещён."
else
say $0": мат на канале запрещён."
%b_halt = 1
%X_users{$2}{$chan.name}=1
}
else if(%X_users{$2}{$chan.name}==1)
{
kick $0 Стена там "-->"
notice $0 "Следующий раз бан"
%b_halt = 1
%X_users{$2}{$chan.name}=2
}
else
{
kb $0 "Фильтруй базар"
%b_halt = 1
}
}
вот мой вариант. имхо самый лучший. Smiley для каждого юзверя заводиться "досье" на каждом канале в хеше %X_users{маска_юзверя}{имя_канала}. Сделал в попапе item, чтоб можно обнулить было (мало ли чего). Ещё есть хеш %ExUsers{маска_юзверя} и %Chanels{имя_канала}. тоже в попапе сделал менюшек, чтоб хоть какой-нибудь интерфейс был. Smiley Дальше читайте код, там no comments. Smiley

install.kvs ещё не собрал. Как соберу выложу ссылку.
Кому интересно в подробностях, пишите мне в приват. Ник тотже

В коде вместо $3 лучше поставить %p_str предварительно сделав следующее:
Code:
%p_str=" "$3
просто некоторые слова могут содержать части матов. Например "рубля" или "застрахуя". Чтобы избежать подобных случаев, в блокноте надо перед матным словом ставить пробел. В приведённом выше коде случаи если мат первое слово, но в блокноте начиналось с пробела не обрабатывались.

Правда возникает вопрос при создании базы данных для скрипта.
Как например в шаблоне прописать исключение букв (!ч|!к) вместо того, чтобы перебирать весь алфавит? если кто, знает расскажите. Smiley
« Last Edit: 21 March 2008, 18:49 by hr[e]w » Logged

Продаю скрипты оптом. По десять рублей за килобайт.
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #32 on: 22 August 2018, 15:38 »

20180822xiaoke
coach outlet online
cheap oakley sunglasses
cheap jordan shoes
pandora charms
cheap jordans
fitflops sandals
kate spade purses
canada goose jackets outlet
fingerlings monkey
air jordan shoes
ralph lauren shirts
ugg boots
bape clothing
michael kors online
isabel marant shoes
ray ban sunglasses outlet
canada goose outlet online
ralph lauren
polo ralph lauren
christian louboutin
ugg boots outlet
burberry outlet stores
ugg outlet online
oakley sunglasses wholesale
coach outlet store online
ugg boots for women
nike outlet
canada goose jackets
canada goose jackets
cheap jordan shoes
oakley sunglasses wholesale
uggs outlet online
coach factory outlet
ugg outlet
nfl jerseys wholesale
christian louboutin
ugg outlet,ugg outlet stores
nike outlet store
north face
air max 1
jimmy choo shoes
michael kors outlet clearance
ralph lauren outlet
kate spade
canada goose coats
baltimore ravens jersey
michael kors outlet clearance
coach outlet store
jordan shoes
cheap oakley sunglasses
ralph lauren polo
christian louboutin
ralph lauren outlet online
moncler jackets
canada goose jackets sale
moncler outlet
cheap jordans
kate spade outlet online
longchamp solde
christian louboutin sale
michael kors outlet clearance
swarovski jewellery
prada shoes on sale
mbt outlet
cheap jordans
ugg boots
polo ralph lauren
polo ralph lauren outlet online
christian louboutin sale
michael kors outlet online
mbt shoes clearance
ray ban outlet store
polo ralph lauren shirts
coach factory outlet
christian louboutin
pandora outlet
jordan shoes
chrome hearts sunglasses
true religion jeans sale
air max 2018
pandora outlet
polo ralph lauren outlet online
guess factory
air jordan shoes
supreme shirts
coach factory outlet
canada goose outlet
christian louboutin
ugg outlet
canada goose outlet store
coach factory outlet online
kate spade outlet store
pandora outlet
coach factory outlet
michael kors outlet
san antonio spurs jersey
chrome hearts jewelry
adidas shoes
michael kors outlet
ralph lauren
chrome hearts clothing
michael kors factory outlet
golden state warriors jersey
ray ban sunglasses outlet
cheap air jordans
ugg boots clearance
ugg boots clearance
bally shoes
suicoke sandals
coach outlet
cheap jordan shoes
carrera sunglasses
coach factory outlet
ralph lauren outlet
uggs outlet online
christian louboutin shoes
coach outlet store
ugg boots clearance
air max 97
freshjive clothing
true religion jeans
balenciaga sandals
michael kors outlet clearance
cheap jordan shoes
uggs outlet online
canada goose outlet store
mbt shoes outlet
supreme shirts
arcteryx jacket
polo ralph lauren factory store
polo ralph lauren shirts
the north face
lacoste pas cher
coach factory outlet
coach outlet store online
canada goose outlet store
mac outlet
kate spade
oakley sunglasses wholesale
uggs outlet online
kate spade outlet store
uggs outlet online
harden vol 2
polo ralph lauren outlet online
tag heuer watches
cheap jordan shoes
ralph lauren factory store
givenchy jewelry
christian louboutin sale
a bathing ape
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #33 on: 17 September 2018, 10:47 »

adidas superstar
swarovski jewelry
vans pas cher
alife clothing
nike air
iphone x case
timberland pas cher
bcbg dresses
golden goose sneakers
nike vapor max
nike outlet
coach outlet
michael kors canada
prada sunglasses
red bottom shoes
jordan 4
ray ban sunglasses
adidas soccer cleats
jordan pas cher
jordan 10
fendi sunglasses
polo ralph lauren
supra shoes
ralph lauren
reebok outlet
curry 4
lacoste shoes
boy london clothing
adidas trainers uk
nike air max
goyard handbags
guess
polo ralph lauren
gucci handbags
mac makeup
kate spade uk
10 deep clothing
omega watches
kobe 10
coach factory outlet
christian louboutin pas cher
jordan shoes
tods shoes
tory burch outlet
oakley sunglasses
jordan 12
dolce & gabbana
michael jordan
nike mercurial
nike air max
converse all stars
nike clothing
bulgari jewelry
longchamp handbags
cheap jerseys
new balance
jordan 8
nike roshe run
lululemon outlet
salomon shoes
nike huarache
jordan 7
nike air max 2017
gucci outlet
nike kyrie 2
soccer jerseys
bcbg max azria
givenchy jewelry
hogan
dior bags
givenchy handbags
clarks shoes
adidas superstar
replica watches
nike air max
tommy hilfiger pas cher
adidas clothing
ray ban
abercrombie
abercrombie
jordan 31
michael kors outlet online
miu miu shoes
fitflops outlet
abercrombie
dyson hair dryer
tommy hilfiger
jordan 6
chopard jewelry
jordan 5
michael kors outlet
mac cosmetics
ed hardy
vans outlet
oakley sunglasses
adidas outlet store
michael jordan
balmain jeans
nike blazer
longchamp
2018.9.17xukaimin
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #34 on: 16 October 2018, 11:07 »

chenqiuying20181016
polo ralph lauren
ralph lauren uk
coach outlet online
coach outlet online
coach outlet
true religion jeans
prada outlet store
uggs outlet
coach outlet online
christian louboutin
mulberry bags
uggs outlet
canada goose outlet store
coach outlet online
moncler outlet online
nike outlet online
longchamp outlet online
polo ralph lauren outlet
ugg boots
off white
adidas yeezy shoes
canada goose
fitflops sale
michael kors outlet
ralph lauren uk
cheap nhl jerseys
canada goose outlet store
ray ban sunglasses
cheap nike shoes
michael kors outlet clearance
michael kors outlet clearance
michael kors outlet
polo ralph lauren
pandora charms sale clearance
canada goose jackets
adidas outlet online
ugg outlet online clearance
pandora jewelry
polo ralph lauren outlet
michael kors outlet
polo ralph lauren outlet
cheap ray ban sunglasses
supreme clothing
pandora outlet
rolex replica watches
coach factory outlet
christian louboutin
valentino shoes
polo ralph lauren
coach factory outlet
canada goose
mulberry bags
ugg outlet
birkenstock outlet
tory burch sandals
michael kors outlet online
pandora jewelry
canada goose outlet
polo ralph lauren outlet
pandora outlet store
coach outlet
uggs outlet
uggs outlet
moncler outlet online
nike factory outlet
polo ralph lauren
michael kors outlet online
cheap nfl jerseys
coach factory outlet online
coach outlet online
adidas outlet
kate spade outlet online
lebron shoes
michael kors outlet online
coach outlet online
coach outlet
mlb jerseys
adidas yeezy shoes
yeezy boost 350
ugg outlet
polo ralph lauren
coach factory outlet
michael kors outlet online
christian louboutin shoes
nike outlet store
tory burch outlet online
ralph lauren uk
polo ralph lauren outlet
pandora charms
canada goose
christian louboutin shoes
ugg,uggs,uggs canada
michael kors outlet online
fitflops sale
coach factory outlet
true religion outlet
nfl jerseys
asics shoes
michael kors outlet online
michael kors handtaschen
chenqiuying20181016
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #35 on: 24 October 2018, 06:24 »

cai123 10.24
salomon outlet
toms outlet online
adidas outlet store
adidas yeezy shoes
jordan shoes for sale
louis vuitton factory outlet
toms shoes
mulberry outlet uk
nike react shoes
ralph lauren uk
coach outlet online
coach outlet store online clearance
dr martens boots
coach factory outlet online
coach outlet online
nike shox shoes
canada goose
coach outlet online
pirates jerseys
coach factory outlet online
ugg outlet
louis vuitton outlet
michael kors outlet online
retro 11
ralph lauren uk
cheap jordans
moncler coats
cheap ray ban sunglasses
longchamp outlet online
cheap ray ban sunglasses
michael kors outlet clearance
nike outlet store
adidas campus shoes
coach outlet online
canada goose sale
timberland shoes
vans outlet store
kate spade outlet online
fitflops sale
tory burch outlet online
fitflops sale
canada goose outlet online
michael kors outlet online
jimmy choo outlet
moncler coats
canada goose outlet store
christian louboutin shoes
yeezy boost 350
tory burch outlet store
fitflop shoes
supra for sale
kate spade outlet online
yeezy shoes
nike huarache shoes
red bottoms
ronaldo jerseys
coach outlet online
coach factory outlet online
canada goose outlet store
canadian goose
underarmour outlet
adidas sneakers
discount oakley sunglasses
polo ralph lauren outlet online
kate spade outlet online
ugg boots outlet
timberland outlet
hermes bags
yeezy boost
pandora jewelry
coach outlet online
pandora charms sale clearance
air max 95
nike air max 90
moncler outlet store
timberland outlet
michael kors outlet clearance
air max 90
nike outlet online
coach factorty outlet online
salvatore ferragamo
mont blanc pens
ralph lauren
pandora rings
air more money
ugg outlet store
canada goose
polo ralph lauren outlet
ugg boots
adidas shoes
adidas nmd r1
salvatore ferragamo outlet
canada goose parka
coach factory outlet online
vans outlet
birkenstock uk
birkenstock sale
adidas yeezy
michael kors outlet clearance
coach outlet store online
cai123 10.24
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #36 on: 10 November 2018, 06:46 »

hermes
paul george shoes
herve leger
pandora jewelry canada
levi's jeans
north face outlet
superdry clothing
air jordan
ray bans
michael kors handbags
dolce and gabbana
adidas stan smith
ferragamo belt
ray ban sunglasses
air jordan
marc jacobs handbags
balenciaga shoes
adidas nmd
timberland boots
air jordan 1
ray ban sunglasses
tory burch handbags
jimmy choo shoes
timberland boots
nobis jackets
kate spade purse
ralph lauren jeans
kate spade
coach outlet online
jordan shoes
ralph lauren
kd 10
russell westbrook shoes
tiffany bracelet
north face outlet store
cheap michael kors bags
pandora charms
lebron 15
michael kors outlet clearance
coach outlet online
flip-flops
oakley sunglasses outlet
reebok shoes
adidas nmd
adidas slides
ray ban sunglasses outlet
christian dior handbags
off-white clothing
football shirts
tory burch bags
chenlina20181110
Logged
Pages: 1 2 [3]
Print
Jump to:  

Theme orange-lt created by panic