Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

10 443 Posts in 5 818 Topics- by 1 216 Members - Latest Member: santini862

16 October 2019, 11:43
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumKVIrc discussionKVIrc scriptingHow to make custom command?
Pages: [1]
Print
Author Topic: How to make custom command?  (Read 10735 times)
0 Members and 1 Guest are viewing this topic.
aneurysm
Новичок
*

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


View Profile Email
« on: 9 January 2010, 18:29 »

Hi all, need help in here...
I want make a bot that when some nickname (that have my authorization) msg to that bot with a custom command, it will trigger an action...
Ex: /msg bot !kb $nick #then this bot will kick and ban someone...

Is it possible?  Undecided
Logged
Maximusya
Глобальный модератор
*****

Репутация: 49
Gender: Male
Posts: 343



View Profile
« Reply #1 on: 9 January 2010, 19:40 »

Read program Help a bit)
Dig towards events, event handlers.
Logged
ambossarm
Постоялец
***

Репутация: 11
Gender: Male
Posts: 148



View Profile
« Reply #2 on: 9 January 2010, 19:55 »

Event OnQueryMessage
$0 is the nickname
$3 is the send message

with $str.split(" ",$3) you should be able to split the message on spaces and if the first thing equals !kb you should kb the second.
Logged
ambossarm
Постоялец
***

Репутация: 11
Gender: Male
Posts: 148



View Profile
« Reply #3 on: 10 January 2010, 03:01 »

Code:
if ($0 == "trusted nick") {
%parts[] = $str.split(" ",$3);
if (%parts[0] == "!kb") {
if ($length(%parts) == 2) {
echo "Trigger !kb recognized";
} else {
echo "$0 has to put 2 arguments in the command";
}
}
}

There is missing in what channel you want to execute this and you could add an "$chan.ismeop" to test if you have rights to kickban. Perhaps the right if would be "$chan.ismeuserop" I am not sure what the differnce is.

Also you perhaps should check if the hostname of your trusted nick is right or better if that person is authed, I am right now not sure how.
« Last Edit: 13 January 2010, 04:09 by ambossarm » Logged
aneurysm
Новичок
*

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


View Profile Email
« Reply #4 on: 10 January 2010, 03:28 »

Thanks for help ambossarm.

Then, i should add "kb %parts[1];" command in "if ($length(%parts) == 3)" right?

How about the reason in %parts[2], i want to insert it when kick %parts[1] or maybe it will automatically inserted when kick command triggered?

By the way, this bot is for dota battlenet server and will be an admin and have all commandgroups that necessary like kick, ban, kill, ann, etc...
« Last Edit: 10 January 2010, 14:52 by aneurysm » Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #5 on: 24 July 2018, 06:46 »

cc20180724
adidas yeezy
cheap jordans
michael kors outlet
cleveland indians jerseys
asics shoes
michael kors outlet
birkenstock outlet
tampa bay devil rays jerseys
birkenstock sandals
fred perry
jordan shoes
coach outlet online
nike air max 95
milwaukee brewers jerseys
dr martens boots
coach outlet
fitflops
michael kors outlet
nike air presto
converse all star
air max 97
colorado rockies jerseys
nike air max 87
nike outlet
coach outlet online
hermes birkin
nike air max zero
ugg outlet
lacoste polo shirts
oakley sunglasses
nike shoes
cheap ray ban sunglasses
polo ralph lauren outlet
florida marlins jerseys
air max 2018
cheap oakley sunglasses
moncler jackets
pandora jewelry
kate spade handbags
michael kors outlet clearance
ugg outlet
valentino shoes
birkenstock sandals
pandora jewelry
coach outlet
cheap nfl jerseys
swarovski crystal
ralph lauren sale clearance
michael kors outlet clearance
cheap jordans
discount oakley sunglasses
coach outlet
kate spade
fendi handbags
cristiano ronaldo jerseys
salomon shoes
vans shoes
fitflops sale clearance
adidas shoes
cheap jordan shoes
timberland boots
kate spade bags
fitflops sale clearance
coach outlet store online clearances
nike outlet
hermes handbags
kate spade outlet
nike cortez
kate spade outlet
jordan shoes
pandora charms
pandora jewelry
canada goose outlet
nike free 4.0
kate spade outlet
coach factory outlet online
pandora charms
pandora store
underarmour shoes
red bottom shoes
adidas yeezy
michael kors outlet
coach factory outlet
ray ban sunglasses
philipp plein outlet
ray ban sunglasses
kate spade handbags
air jordans
cheap jordans
adidas shoes
nike shoes
pandora jewelry outlet
fitflops
michael kors outlet clearance
ralph lauren outlet
mulberry outlet
pandora charms
coach factory outlet
atlanta braves jerseys
yeezy boost
louis vuitton outlet
supra shoes
timberland boots
mlb jerseys
nike air force 1
christian louboutin
louis vuitton outlet
louis vuitton outlet online
canada goose sale
pandora outlet
ralph lauren
adidas nmd
asics outlet
louboutin shoes
toms outlet
oakley sunglasses
lebron james shoes
pandora jewelry official site
nike epic react flyknit
canada goose sale
cheap jordans free shipping
adidas yeezy
salvatore ferragamo shoes
birkenstock sandals
adidas yeezy
ugg boots
cheap nba jerseys
nike air max
jordan shoes
ralph lauren outlet
nike tessen
yeezy boost
toronto blue jays jerseys
tiffany and co
canada goose outlet
cheap jordans
ray ban sunglasses discount
pandora jewelry
pandora jewelry
michael kors outlet online
ugg boots
nike air max 270
canada goose outlet
vans store
nike shoes
air max 2019
ecco shoes
nba jerseys
oakley sunglasses
coach outlet
yeezy boost
air max 90
cheap mlb jerseys
supra shoes
converse shoes
ecco shoes for men
tory burch outlet online
kate spade outlet store
christian louboutin shoes
prada handbags
ralph lauren outlet
ray ban sunglasses
michael kors outlet
dr martens outlet
coach outlet
adidas shoes
coach outlet
adidas outlet
oakland athletics jerseys
coach factory outlet
converse outlet store
coach factory outlet
polo ralph lauren
supreme new york
pandora jewelry
kevin durant shoes
kate spade handbag
salvatore ferragamo shoes
pandora charms
reebok shoes
oakley sunglasses
uggs outlet
adidas campus
cheap nfl jerseys
mulberry bags
jordan retro
coach outlet
coach outlet
birkenstock sandals
pandora charms sale clearance
ralph lauren outlet
oakley sunglasses
coach outlet store online
michael kors outlet
uggs canada
nike huarache
michael kors outlet
mbt shoes
pandora outlet
nike shoes for men
coach outlet
cheap jordans
michael kors outlet
louboutin shoes
columbia sportswear
hermens bags
coach outlet store
kate spade outlet
canada goose outlet
oakley sunglasses outlet
jordan shoes
jordans
toms outlet
coach outlet store
polo outlet
coach canada
christian louboutin outlet
coach outlet
coach factorty outlet
cartier outlet
nike huarache
moncler outlet
cheap oakley sunglasses
longchamp handbags
kate spade bags
fitflops
minnesota twins jerseys
coach outlet
yeezy 350 boost
nike outlet
pandora outlet
longchamp outlet
adidas yeezy boost
pandora charms
pandora charms
moncler jackets
air jordan shoes
seattle mariners jerseys
cc20180724
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #6 on: 17 September 2018, 10:13 »

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
kevin durant jersey
beats pill
canada goose jackets
carson wentz jersey
dolce & gabbana
karen millen
jordan
nike mercurial
antonio brown jersey
christian louboutin
longchamp pas cher
sac longchamp
michael kors uk
kevin durant shoes
wedding dress
ray ban occhiali
air jordan
champion clothing
giannis antetokounmpo jersey
longchamp outlet
furla handbags
lacoste jeans
prom dresses
hollister
hogan shoes
cheap wedding dresses
pandora jewelry
cheap jordan shoes
bottega veneta
true religion
bose headphones
prada outlet
oakley uk
jordan 14
portugal world cup jersey
jordan
curry 5
nike shoes
basket store
asics trainers
nike air max 90
michael kors
clarisonic mia
polo ralph lauren
hollister outlet
kyrie irving jersey
adidas running shoes
montre pas cher
vibram fivefingers
air more uptempo
adidas shoes
dolce & gabbana sunglasses
orologi rolex
air force 1
chrome hearts jewelry
nike roshe
michael kors
bally shoes
jbl headphones
replica watches
chloe handbags
timberland boots
salvatore ferragamo
chanel handbags
ferragamo sunglasses
jordan 11
dansko outlet
babyliss pro nano titanium
vans scarpe
asics running shoes
lebron 11
lebron shoes
michael kors handbags
jordan xx9
ralph lauren outlet
nike factory
cartier sunglasses
insanity workout
prada
lunette ray ban
saint laurent handbags
kids jordans
alexander mcqueen handbags
guess handbags
basketball jersey
nfl jerseys
ai max
versace handbags
2018.9.17xukaimin
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #7 on: 25 June 2019, 06:30 »

instyler ionic styler
pandora jewelry canada
lacoste polo shirts
toms outlet store
moncler outlet online
pandora outlet
coach factory outlet online
ravens jerseys
fjallraven kanken
kate spade handbags
mlb jerseys
pandora jewelry outlet
nike blazer
cubs jerseys
ronaldo jerseys
fitflops sale clearance
north face outlet online
uggs
ecco outlet
kobe shoes
coach handbags
coach outlet online
patriots jerseys
air max shoes
air max
coach outlet online
adidas yeezy boost
toms
pandora charms sale
ed hardy outlet
gucci bags
christian louboutin shoes
cowboys jerseys
gucci outlet online
san diego chargers jerseys
christian louboutin sale
coach factory outlet online
nike shoes
michael kors outlet clearance
cheap jordan shoes
moncler jackets
maui jim sunglasses
yeezy shoes
pandora charms
jets jersey
true religion jeans
coach outlet
coach outlet
air jordan shoes
adidas sneakers
coach factorty outlet store
bape hoodie
juicy couture
ralph lauren outlet
nike shoes
michael kors outlet canada
oakley sunglasses outlet
cheap mlb jerseys
coach outlet store
david yurman
jordans
polo ralph lauren outlet online
coach factory outlet online
houston texans jerseys
hermes belt
jordan 12
gucci outlet online
coach outlet online
prada outlet
giants jerseys
coach purse
toms shoes
swarovski jewelry outlet
kate spade outlet store
under armour shoes
the north face jackets
air max 270
coach outlet canada
coach factory outlet online
ugg boots clearance
uggs outlet
cheap oakley sunglasses
pandora jewelry
michael kors outlet store
pandora charms outlet
north face outlet
pandora sale clearance
hermes bags
ralph lauren outlet online
canada goose sale
adidas outlet online
mont blanc
persol
christian louboutin shoes
miu miu handbags
coach outlet online
foamposite shoe
coach outlet store online
nike hyperdunk
kate spade outlet online
gymshark sale
givenchy handbags
nobis jackets
cheap jordans for sale
michael kors factory outlet
yeti tumbler
coach outlet online
true religion jeans sale
yeezy shoes
ralph lauren polo
nike air force
celine outlet
uggs outlet
pandora jewelry outlet
christian louboutin shoes
coach outlet online
louis vuitton outlet store
yeezy boost 350
ralph lauren outlet online
air huarache
nike tn
bathing ape
pandora rings
ugg outlet
ralph lauren uk
indianapolis colts jerseys
cnaada goose outlet store
cincinnati bengals jersey
moncler outlet online
prada handbags
yolo
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #8 on: 25 June 2019, 07:34 »

instyler ionic styler
pandora jewelry canada
lacoste polo shirts
toms outlet store
moncler outlet online
pandora outlet
coach factory outlet online
ravens jerseys
fjallraven kanken
kate spade handbags
mlb jerseys
pandora jewelry outlet
nike blazer
cubs jerseys
ronaldo jerseys
fitflops sale clearance
north face outlet online
uggs
ecco outlet
kobe shoes
coach handbags
coach outlet online
patriots jerseys
air max shoes
air max
coach outlet online
adidas yeezy boost
toms
pandora charms sale
ed hardy outlet
gucci bags
christian louboutin shoes
cowboys jerseys
gucci outlet online
san diego chargers jerseys
christian louboutin sale
coach factory outlet online
nike shoes
michael kors outlet clearance
cheap jordan shoes
moncler jackets
maui jim sunglasses
yeezy shoes
pandora charms
jets jersey
true religion jeans
coach outlet
coach outlet
air jordan shoes
adidas sneakers
coach factorty outlet store
bape hoodie
juicy couture
ralph lauren outlet
nike shoes
michael kors outlet canada
oakley sunglasses outlet
cheap mlb jerseys
coach outlet store
david yurman
jordans
polo ralph lauren outlet online
coach factory outlet online
houston texans jerseys
hermes belt
jordan 12
gucci outlet online
coach outlet online
prada outlet
giants jerseys
coach purse
toms shoes
swarovski jewelry outlet
kate spade outlet store
under armour shoes
the north face jackets
air max 270
coach outlet canada
coach factory outlet online
ugg boots clearance
uggs outlet
cheap oakley sunglasses
pandora jewelry
michael kors outlet store
pandora charms outlet
north face outlet
pandora sale clearance
hermes bags
ralph lauren outlet online
canada goose sale
adidas outlet online
mont blanc
persol
christian louboutin shoes
miu miu handbags
coach outlet online
foamposite shoe
coach outlet store online
nike hyperdunk
kate spade outlet online
gymshark sale
givenchy handbags
nobis jackets
cheap jordans for sale
michael kors factory outlet
yeti tumbler
coach outlet online
true religion jeans sale
yeezy shoes
ralph lauren polo
nike air force
celine outlet
uggs outlet
pandora jewelry outlet
christian louboutin shoes
coach outlet online
louis vuitton outlet store
yeezy boost 350
ralph lauren outlet online
air huarache
nike tn
bathing ape
pandora rings
ugg outlet
ralph lauren uk
indianapolis colts jerseys
cnaada goose outlet store
cincinnati bengals jersey
moncler outlet online
prada handbags
yolo
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #9 on: 25 June 2019, 10:36 »

kate spade outlet sale
uggs outlet
nike outlet store
canada goose jackets
coach outlet store online
coach outlet online
fitflops
pandora charms sale clearance
durant shoes
stone island hoodie
adidas store
coach factory outlet
polo ralph lauren outlet
dolce & gabbana sunglasses
michael kors outlet online
costa sunglasses sale
ralph lauren outlet
cheap jordans free shipping
air max plus
coach outlet store online
michael kors outlet clearance
phillies jerseys
cardinals jerseys
kyrie 2
canada goose outlet
coach factorty outlet store
coach factory outlet online
coach outlet online
nhl jerseys
yeti
michael kors outlet clearance
coach factory outlet
pandora charms
coach outlet online
nike free run
canada goose coats
kate spade outlet online
rolex replica watches for sale
michael kors bags
louboutin outlet
louis vuitton outlet online
pandora jewelry
converse shoes
mbt shoes
marc jacobs handbags
nike outlet store online
coach outlet clearance
air jordan retro
fitflops outlet
valentino
coach factory outlet online
ralph lauren polo
kate spade outlet online
jaguars jersey
north face outlet
birkenstock sandals
ugg boots
air jordan 3
louboutin outlet
adidas nmd r1
north face jackets
ed hardy
off-white clothing
ferragamo outlet
uggs outlet
david yurman
coach factory outlet
browns jerseys
fitflop sale
coach outlet store
uggs canada
polo ralph lauren outlet online
coach factory outlet online
coach outlet clearance
michael kors outlet store
minnesota vikings jersey
canada goose coats
instyler ionic styler
pandora jewelry canada
lacoste polo shirts
toms outlet store
moncler outlet online
pandora outlet
coach factory outlet online
ravens jerseys
fjallraven kanken
kate spade handbags
mlb jerseys
pandora jewelry outlet
nike blazer
cubs jerseys
ronaldo jerseys
fitflops sale clearance
north face outlet online
uggs
ecco outlet
kobe shoes
coach handbags
coach outlet online
patriots jerseys
air max shoes
air max
coach outlet online
adidas yeezy boost
toms
pandora charms sale
ed hardy outlet
gucci bags
christian louboutin shoes
cowboys jerseys
gucci outlet online
san diego chargers jerseys
christian louboutin sale
coach factory outlet online
nike shoes
michael kors outlet clearance
cheap jordan shoes
moncler jackets
maui jim sunglasses
yeezy shoes
pandora charms
jets jersey
true religion jeans
coach outlet
coach outlet
air jordan shoes
adidas sneakers
coach factorty outlet store
bape hoodie
juicy couture
yolo
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic