Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

10 989 Posts in 6 364 Topics- by 1 216 Members - Latest Member: santini862

16 January 2021, 08:42
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumKVIrc discussionKVIrc scriptingclose all, and slow join?
Pages: [1] 2
Print
Author Topic: close all, and slow join?  (Read 28113 times)
0 Members and 1 Guest are viewing this topic.
Kvuser
Новичок
*

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


View Profile
« on: 6 May 2012, 03:45 »

Hi all...

I am really happy with kvirc and left mirc for good but I miss 2 things which I can't do in kvirc

1. In mirc I used to click on the connection and choose close all channels, in kvirc I have to close them one by one, is it possible to close all channels at once without having to close program?

2. I would appreciate if someone can point me to a script for joining channels, the only feature I hope to find is doing some delay because ircqnet will kick me outside if I join too fast, anyone has done this and can share his method/script ?

Thank you  Smiley
Logged
ambossarm
Постоялец
***

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



View Profile
« Reply #1 on: 6 May 2012, 04:55 »

1. right click on network and "leave all channels"

2. disable the autostuff on join like the who requests. Normally KVIrc should slow it down by itself. Which version do you use?
Logged
Kvuser
Новичок
*

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


View Profile
« Reply #2 on: 6 May 2012, 05:12 »

1. right click on network and "leave all channels"

2. disable the autostuff on join like the who requests. Normally KVIrc should slow it down by itself. Which version do you use?
1. right click on network and "leave all channels"



2. disable the autostuff on join like the who requests. Normally KVIrc should slow it down by itself. Which version do you use?


Hi ambossarm,

Thanks for replying

1. you are correct but I forgot to mention that If you right click while you are disconnected, you won't find these options, what happens is I get disconnected by my lousy wifi connection a lot and need to close these dead channels and do step 2, is that still possible ?

2. I use version 4.0.4, the only thing I have (if I'm not wrong) is register nick on join after specific message from server and I have some highlight commands.

If the above is fine, so you mean there is an auto join option in kvirc ? what do you mean exactly ? I have re-join channels off to avoid getting kicked out, you mean I should enables it or something else ?

In Ircqnet network 2 seconds between joining is not enough sometimes, I used 3 seconds in mirc...

Regards
Logged
dracozny
Новичок
*

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


View Profile
« Reply #3 on: 6 May 2012, 11:13 »

not sure if this iw what you mean for the 2. but my solution to joining channels after nickserv was in the servers advanced settings for a server I run I added this script to "OnConnect"
Code:
timer -s (delay,10000)
{
j #chan1,#chan2,#chan3
}

you could add a while loop  and if count is 1 join chan1 if count is 2 join chan2, etc..
depends on how much of a delay you need.
Logged
Kvuser
Новичок
*

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


View Profile
« Reply #4 on: 7 May 2012, 03:34 »

Hi dracozny,

honestly I have no knowledge in scripting, can I do it like this instead ?

"Onconnect"

timer -s (delay,10000)
      {
      j #chan1
      }
timer -s (delay,40000)
      {
      j #chan2
      }
timer -s (delay,70000)
      {
      j #chan3
      }
timer -s (delay,100000)
      {
      j #chan4
      }

and so on....

by the way 10,000 is 1 sec ?

Thanks for the help
Logged
dracozny
Новичок
*

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


View Profile
« Reply #5 on: 7 May 2012, 08:22 »

Code:
%i = 0;
while(%i < 50)
{
    timer -s (delay,1000)
      {
         switch(%i)
         {
          case(1):
          j #chan1
          break;
          case(2):
          j #chan2
          break;
          case(3):
          j #chan3
          break;
         }
      }
    %i++
}


1000 is 1 second
Logged
Kvuser
Новичок
*

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


View Profile
« Reply #6 on: 7 May 2012, 09:19 »

Code:
%i = 0;
while(%i < 50)
{
    timer -s (delay,1000)
      {
         switch(%i)
         {
          case(1):
          j #chan1
          break;
          case(2):
          j #chan2
          break;
          case(3):
          j #chan3
          break;
         }
      }
    %i++
}


1000 is 1 second

Hey dracozny,

I wanted to try it before I ask you but I couldn't find Onconnect event ? so where do I add it ?


I wanted to ask, this will do the following

join chan1
(1,2,3)
join chan2
(1,2,3)
join chan3
.... so on

Thank you Smiley
Logged
Kvuser
Новичок
*

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


View Profile
« Reply #7 on: 8 May 2012, 02:29 »

Hey dracozny,

It did not work, I found OnIRCConnectionEstablished and used it, made new handler but it didn't work, I changed 1000 to 10000 but didn't work , I noticed that there is no parameters in OnIRCConnectionEstablished, not like Onjoin, it says Parameters: none, is that the reason ?


Is it possible to use this script with OnNickSERVNotice ? like on "Welcome to IrCQ Services, test!" ,,, join #channel1 1..2..3 join #channel2.... ?

Thanks
Logged
dracozny
Новичок
*

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


View Profile
« Reply #8 on: 10 May 2012, 06:44 »

onconnect is found under the server settings click on the folder of your server and click the advanced button.



onnickservnotice, would be a hassle cause every single time it messages you it will run this script. nickserv does message you a few times when you join with a registered nick, and then identifty, etc.. so you would have to add an if statement to filter which message is used to trigger the join process of the script.
« Last Edit: 10 May 2012, 06:55 by dracozny » Logged
Kvuser
Новичок
*

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


View Profile
« Reply #9 on: 11 May 2012, 08:27 »

Hey dracozny ,

Sorry I was looking in scripting ... Thanks very much for the images...

I tried posting that script in the place you mentioned, and I also tried it inside the random server (not the server folder) and it didn't work at all  Sad nothing happened!
Logged
ambossarm
Постоялец
***

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



View Profile
« Reply #10 on: 12 May 2012, 13:34 »

the while script is wrong, it starts 50 timers at once with a delay of 1 second, so all 50 timers go "off" in 1 second. Also the %i is not a variable in the space of the timer.

timer -s is a single execution, if you do a timer without -s you could trigger it every X ms. Create an array with the channels you want to join and killtimer when the end of array is reached.
Logged
ambossarm
Постоялец
***

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



View Profile
« Reply #11 on: 15 January 2013, 15:34 »

none needed?!
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #12 on: 22 August 2018, 15:25 »

20180822xiaoke
canada goose
ugg boots on sale
canada goose outlet online
cheap jordan shoes
michael kors handbags
kate spade new york
ralph lauren
christian louboutin
christian louboutin sale
jordan shoes
canada goose outlet online
coach outlet store online
cheap air jordans
pandora charms
michael kors outlet
pandora jewelry
ugg boots clearance
red bottoms
cheap jordan shoes
polo ralph lauren outlet
coach outlet store online
pandora jewelry
pandora jewelry
49ers jerseys
canada goose outlet
louboutin shoes
pandora jewelry
pandora jewelry
true religion jeans sale
nfl jersey wholesale
polo ralph lauren outlet
ugg outlet store
michael kors uk
coach outlet online
ralph lauren polo shirts
coach outlet store online
coach factory outlet
michael kors outlet store
canada goose outlet store
coach factory outlet
christian louboutin outlet
manolo blahnik
chopard jewelry
kevin durant jerseys
ugg boots
longchamp outlet online
nike factory shoes
canada goose outlet store
jordan shoes
fossil watches
air jordan shoes
michael kors outlet clearance
coach outlet
coach factory outlet
canada goose
ugg boots clearance
cheap jordan shoes
air jordan shoes
jordan shoes
coach outlet
air jordan shoes
nike pegasus
michael kors outlet online
oakley sunglasses wholesale
armani exchange
coach factory outlet
cheap jordans
kate spade purses
michael kors outlet clearance
longchamp pas cher
ugg boots
air jordan retro
moncler
mulberry bags
polo ralph lauren outlet
uggs canada
cheap air jordans
kate spade purses
ugg boots on sale 70% off
uggs outlet
coach outlet store online
michael kors outlet clearance
denver broncos jersey
michael kors outlet online
canada goose jackets clearance
kate spade handbags
oakley sunglasses sale
michael kors outlet online
cheap jordans
canada goose
cheap ray bans
ugg boots
true religion outlet store
polo ralph lauren outlet
ugg outlet online
jordan shoes
basketball jerseys
air max 90
coach factory outlet
pandora jewelry
michael kors outlet clearance
canada goose
canada goose outlet sale
burberry outlet sale online
adidas crazy
michael kors outlet online
pandora outlet
canada goose outlet online
coach factory outlet
michael kors
coach factory outlet
jerseys wholesale
canada goose jackets
longchamp pliage
nike air max schweiz
light up shoes
gentle monster sunglasses
karen millen dresses
air jordan shoes
coach outlet store
ralph lauren homme
polo ralph lauren
cheap ray ban sunglasses
ugg boots
uggs outlet
ralph lauren outlet
ugg boots on sale 70% off
ralph lauren polo shirts
christian louboutin sale
louboutin shoes
ralph lauren polo shirts
canada goose outlet store
christian louboutin
coach outlet store online
cheap air jordans
polo ralph lauren outlet
10 deep clothing
christian louboutin sale
oakley sunglasses wholesale
christian louboutin
kate spade sale
ugg boots clearance
oakley sunglasses wholesale
coach outlet store online
michael kors outlet clearance
huf clothing
jordan shoes
canada goose outlet online
michael kors outlet clearance
fitflops shoes
Logged
ninest123
Ветеран
*****

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


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

bvlgari sunglasses
dansko shoes
barbour
asics gel
armani sunglasses
kobe 9 elite
kristaps porzingis jersey
jordan 32
nike roshe
adidas crazy
christian louboutin
g-star jeans
mizuno running shoes
lunette oakley
jordan
ai max
converse uk
keen sandals
calvin klein jeans
guess factory
fitflops
gucci outlet
puma shoes
valentino
chanel outlet
true religion outlet
softball bats
armani handbags
dolce & gabbana
isabel marant shoes
oakley glasses
freshjive clothing
fendi handbags
new balance soldes
burberry handbags
nike foamposite
rolex watches
moncler jackets
michael kors
pandora charms
reebok shoes
ray ban
converse
nike blazer
adidas zx flux
nike air max 2017
swarovski gioielli
occhiali oakley
burberry
ugg boots
instyler
iphone cases
air max 2018
lululemon outlet
basketball shoes
manolo blahnik shoes
converse
nike air zoom pegasus
curry 2
england world cup jersey
jordan 6
mont blanc pens
ray ban pas cher
converse shoes
coach outlet online
asics gel
nike air force 1
marc jacobs handbags
true religion jeans
adidas flip-flops
nike shoes
nike air max 90
michael kors outlet
nike roshe run
toms shoes
furla handbags
guess canada
nike free run
ferragamo belt
nike air max
diesel jeans
oakley vault
air max 90
coach purse
kate spade
beats headphones
chloe handbags
polo lacoste pas cher
burberry outlet
cheap wedding dresses
mac makeup
hermes bags
huf clothing
kobe 11
scarpe hogan
lebron shoes
ralph lauren outlet
new balance shoes
cheap oakley sunglasses
parajumpers
2018.9.17xukaimin
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #14 on: 16 October 2018, 11:06 »

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
Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic