Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

10 931 Posts in 6 306 Topics- by 1 216 Members - Latest Member: santini862

25 September 2020, 14:19
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumKVIrc discussionKVIrc scriptingKVIrc, a simple script for joining an channel that requires an invite
Pages: [1]
Print
Author Topic: KVIrc, a simple script for joining an channel that requires an invite  (Read 15496 times)
0 Members and 1 Guest are viewing this topic.
Saito
Новичок
*

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


View Profile
« on: 4 October 2009, 16:51 »

I just started using KVIrc and I must say I'm very impressed finally an client that on par with mIRC and possibly better.

I just run in to one problem, I'm on an channel that require me to send an message to a bot that will invite me. I had this automated on mIRC but I can't get it working in KVIrc. Then again I must say I'm not much of an scripter I only got what I have now thanks to a Friendly user on Freenode.

I hope someone has the time to help me out with this.

What I'm trying to accomplish is the following:

First thing after connecting KVIrc will indentify my nickname. After this it will have to message a bot that will send me the invite. Then of course I will join the channel. The bot will kick me on join if I'm not identified first.
Important thing is that the script is safe I want it to check if its on the correct network then it should check if the bot has the correct hostname before sending anything to it.

This is what we got to so far:
Code:
if ($my.network == "network" && $0 == "NickServ" && $str.match(*Password accepted*,$3)) { msg botname invite codehere ; }

I would greatly appreciate it if someone could help me out with getting this to work properly.

A friend of mine did ascript for mIRC maybe that will give you an good idea as of what I'm looking for:

This code also took care of the nickserv identification,

Code:

on *:NOTICE:*This nickname is registered and protected*:*:{
 if ($nick == NickServ && $network == networkname) {
   .msg nickserv IDENTIFY passwordhere
 }
}

on *:NOTICE:*Password accepted*:*:{
 if ($nick == NickServ && $network == networkhere) {
   join #channel
 }
}

raw 473:*:{
 if ($2 == #channelname) {
   .msg botname invite mynick invitekey
 }
}

on *:INVITE:#:{
 if ($nick == botnick) {
   join $chan
 }
}


I hope someone can help me out Smiley

Many thanks in advance!

// Saito
« Last Edit: 4 October 2009, 17:04 by Saito » Logged
ambossarm
Постоялец
***

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



View Profile
« Reply #1 on: 5 October 2009, 03:12 »

Hi,

sorry I have not much time at this night. So only some information.

You should put your nickserv Password into the server-password field on FreeNode, that is a special feature of FreeNode to identify on connect.

You get the networkname from $context.networkName()
Channelname is $target or $chan.name, I prefer $target, because $chan.name breaks if it is a query or something else.

there are special events for "onNickServAuth" and "onNickServNotice"


I don't know what raw 473 is, but it could be "onMeJoin"


You'll find the events at "Scripting" - "Edit Events"


Greetings
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #2 on: 24 July 2018, 07:35 »

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
cc20180724
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #3 on: 8 August 2018, 12:47 »

chanyuan2018.08.08
canada goose outlet
coach outlet
jordan shoes
coach outlet
michael kors outlet clearance
michael kors outlet
nike store uk
furla handbags
canada goose jackets
true religion jeans
christian louboutin shoes
adidas wings
christian louboutin outlet
cheap jerseys
fitflops shoes
ray ban sunglasses
pandora outlet
jazz jerseys
nike store
michael kors outlet
vans shoes
air jordan 4
jordan shoes
isabel marant shoes
coach outlet
pandora charms
polo ralph lauren
pandora jewelry
gucci handbags
tory burch outlet
michael kors outlet
michael kors wallets
ray ban sunglasses
oakley sunglasses
bvlgari jewelry
polo shirts
supreme clothing
mac makeup
undefeated clothing
adidas nmd
brequet wathes
off-white
air max 95
stussy clothing
oakley sunglasses
ray ban outlet
givenchy jewelry
chrome hearts outlet
burberry outlet
barbour jackets
coach outlet
pandora charms
indianapolis colts jerseys
ugg outlet
adidas uk
polo ralph lauren
fitflops sale clearance
prada sunglasses
mulberry handbags
nike shoes
michael kors outlet
coach outlet online
gucci outlet
ugg outlet
timberwolves jerseys
kings jerseys
nike cortez
coach outlet online
michael kors outlet
mulberry outlet
nike foamposite
lakers jerseys
tory burch outlet
air jordan 4
michael kors outlet
ralph lauren polo shirts
toms shoes
michael kors handbags
michael kors handbags
ray ban sunglasses
denver broncos jerseys
cavaliers jerseys
christian louboutin outlet
michael kors outlet
mizuno running shoes
ferragamo shoes
nba jerseys
uggs outlet
kate spade outlet
alexander mcqueen shoes
christian louboutin outlet
christian louboutin outlet
hermes belt
kate spade outlet
cheap jordans
coach outlet
camel shoes
cheap jordans
coach outlet
pacers jerseys
supreme clothing
christian louboutin outlet
tory burch outlet
scarpe mbt
fila shoes
ugg outlet
puma outlet
fitflops sale clearance
ugg outlets
asics shoes
nike lunarglide
reebok trainers
ugg boots
hawks jerseys
air max 90
canada goose jackets
fendi handbags
michael kors outlet
christian louboutin shoes
coach factory outlet
canada goose outlet
converse shoes
futbol baratas
oakley sunglasses
ugg outlet
mulberry outlet
gentle monster sunglasses
hermes outlet
polo ralph lauren
lacoste soldes
michael kors outlet
ubiq shoes
magic jerseys
christian louboutin outlet
bulls jerseys
louboutin shoes
mulberry bags
tory burch outlet
oakley sunglasses
10 deep clothing
yeezy boost 350
cheap nhl jerseys
isabel marant outlet
air max
manolo blahnik outlet
air jordan 3
pandora charms
oakley sunglasses
jack wolfskin
ray ban sunglasses
coach outlet
uggs outlet
kate spade outlet
oakley sunglasses
christian louboutin outlet
nike dunks
le coq sportif shoes
canada goose jackets
nike presto
oakley sunglasses
toms shoes
world cup jerseys
pandora charms
giuseppe zanotti outlet
harden shoes
coach outlet
cheap jordans
true religion jeans
kate spade outlet
clippers jerseys
jordan shoes
simulation shoes
michael kors outlet
true religion jeans
air more uptempo
arcteryx jacket
canada goose outlet
nike roshe
michael kors outlet
coach outlet
cheap mlb jerseys
ralph lauren polo shirts
minnetonka outlet
ugg outlet
oakley sunglasses
kate spade outlet
true religion outlet
cheap jordans
air max 90
houston texans jerseys
nike air max 90
canada goose outlet
longchamp pas cher
kate spade outlet
jeep shoes
polo outlet
yeezy boost
soccer jerseys
uggs outlet
bottega veneta outlet
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #4 on: 17 September 2018, 10:04 »

jordan 4
karen millen
chi flat iron
sac michael kors
james harden jersey
celine handbags
herve leger dresses
christian louboutin shoes
tory burch
ugg boots
michael jordan
belgium world cup jerseys
ray ban sunglasses
harry winston jewelry
nike free run
rolex watches
hermes jewelry
bijoux swarovski
longchamp outlet
tiffany jewelry
new balance trainer
mont blanc pens
true religion
kobe 12
oakley sunglasses
vans outlet
fossil handbags
air max 95
mulberry
jordan 9
kobe bryant shoes
air max
tory burch
yeezy shoes
nike air max
true religion jeans
kates pade outlet online
fendi
arcteryx jackets
hermes bags
tn pas cher
flip flops
brazil world cup jersey
sac vanessa bruno
uggs outlet
chloe sunglasses
converse outlet store
ghd
uggs outlet
ray ban sunglasses
ugg outlet
dsquared2 outlet
kd 10
ghd flat iron
nike air max 95
basket nike
nike free
oakley pas cher
polo ralph lauren
louboutin outlet
nike outlet store
michael kors uk
dak prescott jersey
marc jacobs handbags
montres
designer sunglasses
skechers sneakers
christian louboutin
air max 90
calvin klein outlet
air max plus
pandora jewelry
nike outlet online
ghd hair straighteners
pandora bijoux
longchamp handbags
spain world cup jersey
pandora charms
prada handbags
bathing ape
fitflops
true religion outlet
insanity
new balance femme
jimmy choo
jordan 3
beats by dre
cartier bracelet
burberry clothing
ferragamo shoes
nike uk
tommy hilfiger
beats headphones
stuart weitzman
kyrie 4
new balance shoes
softball bats
nike blazer
jordan
chaussure nike
2018.9.17xukaimin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic