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

19 January 2021, 09:49
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumKVIrc discussionKVIrc scriptingNotify Window Script
Pages: [1] 2
Print
Author Topic: Notify Window Script  (Read 24239 times)
0 Members and 1 Guest are viewing this topic.
c0rmega
Новичок
*

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


View Profile
« on: 28 February 2017, 01:36 »

I'm new to KVIrc, and I was hoping somebody would be willing to write a script for me, if it's possible to do in KVIrc. Here's the script for mIRC and how it looks:
Code:
on *:TEXT:*c0rmega*:*: {
  if (!$window(@NickAlerts)) { window -k0n @NickAlerts }
  echo @NickAlerts 8,1Date:0,1 $asctime(dddd) $+ , $asctime(mmmm dd) $+ , $asctime(yyyy) - $asctime(hh:nn:ss TT)
  echo @NickAlerts 8,1Network:0,1 $network 8,1/0,1 $server
  echo @NickAlerts 8,1Channel:0,1 $chan
  echo @NickAlerts 8,1User:0,1 $nick
  echo @NickAlerts 11,1 $1-
  echo @NickAlerts 1,1-
}


It's somewhat similar to the built in Notifier in KVIrc, except instead of opening a separate window outside of KVIrc, it would open a window inside of KVIrc in the Tree list, with the information provided like in the screenshot. Additionally, if I could edit it to use wildcards for certain keywords, for instance like "c0rm*ga" that would be great.

I've tried to wrap my head around making scripts for KVIrc, but I'm completely lost. Any help would be greatly appreciated.
Logged
alexzulu
Постоялец
***

Репутация: 34
Posts: 211



View Profile Email
« Reply #1 on: 28 February 2017, 07:00 »

I have a script performs a similar function.
See how it works, you can here https://youtu.be/4cc_AuIjU6Y
Download script, you can here http://kvirc.alexzulu.ru/pool/4/hlog-0.4.0.tar.gz
Logged

Network: freenode. Channels: #kvirc and #kvirc-ru
c0rmega
Новичок
*

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


View Profile
« Reply #2 on: 28 February 2017, 16:59 »

This is useful, thank you. I'll keep trying to learn so I can hopefully figure out how to integrate this hlog window to be visible in the tree list when a highlight happens.

Do you know if it's possible to utilize wildcards like * or ? in KVIrc's highlight tool? The settings seem to take them literally instead of as wildcards.
Logged
kns
Постоялец
***

Репутация: 38
Gender: Male
Posts: 232


View Profile WWW
« Reply #3 on: 28 February 2017, 23:57 »

You should also try wodim's script https://github.com/wodim/kvirc-scripts/blob/master/OnHighlight.highlightwindow.kvs
Logged
c0rmega
Новичок
*

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


View Profile
« Reply #4 on: 1 March 2017, 10:15 »

kns, what does this script do exactly? I'm having trouble deducing what it does just from reading it.
Logged
c0rmega
Новичок
*

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


View Profile
« Reply #5 on: 1 March 2017, 15:10 »

I've found a script that adds the highlight log to the channel tree list, similar to how I had it setup in mIRC: https://github.com/OmegaPhil/kvirc-highlight-management-script

If I could just figure out how to add wildcards to the highlighted words, it would be almost perfect.
Logged
alexzulu
Постоялец
***

Репутация: 34
Posts: 211



View Profile Email
« Reply #6 on: 2 March 2017, 23:50 »

I don't know much regular expressions. Please test the script. http://kvirc.alexzulu.ru/pool/4/nick_alerts-0.0.1.tar.gz
« Last Edit: 2 March 2017, 23:54 by alexzulu » Logged

Network: freenode. Channels: #kvirc and #kvirc-ru
c0rmega
Новичок
*

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


View Profile
« Reply #7 on: 9 March 2017, 17:20 »

The script you made is more in line with what I was using on mIRC, thank you.

I'm having an issue with the words that are meant to be highlighted, though. It still doesn't accept wildcards (? and *). Is there any way to fix that? So for instance let's say I added "c0r?ega" as a word to be highlighted, it would highlight "c0rmega" as well as things like "c0rpega" or "c0r1ega". Basically ? representing any 1 character and * representing any number of characters.

Thank you for your help.

EDIT: Just to clarify, by highlight I mean to be added to the notify window (Nick Alerts). Sorry for that confusion.
« Last Edit: 9 March 2017, 17:33 by c0rmega » Logged
Cabji
Новичок
*

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


View Profile
« Reply #8 on: 16 April 2017, 05:49 »

Some code tips.
To create a windows inside kvirc (checks if window exists, creates if it doesn't):

%windowName = "Hilights"
if ($window.exists($window(%windowName)) == 0)
{
   # create hilight window
   $window.open("mq", %windowName,0,305)
}

note that you can change the parameters of $window.open (ie: "mq" for the window type and the numbers at the end for icons etc. see kvirc doc for function $window.open for details: http://www.kvirc.net/doc/fnc_window.open.html)

You can find values either exact strings, with wildcard characters * ? or as regex by using $str.grep function: http://www.kvirc.net/doc/fnc_str.grep.html in an Event Handler in onChannelMessage (or onQueryMessage, or any other event you want to handle for hilighting)

Code example is something like:

# check a specific channel name by setting value of %chanName
if ($chan.name() == %chanName)
{
   # we are doing a wildcard str.grep() here. see str.grep documentation for details
   if ($str.grep(%stringToFind, $3, w))
   {
      echo -w=$window(%windowName) whatever you want to echo to hilight window
   }
}

This should get you on your way to outputting stuff to windows inside kvirc. If you want to handle and send messages from and to multiple networks at the same time its a little more than this, but this is good for the basics and for just catching incoming messages.
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #9 on: 24 July 2018, 07:22 »

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 #10 on: 8 August 2018, 11:39 »

chanyuan2018.08.08
canada goose outlet
hornets jerseys
nike factory outlet
prada shoes
bally shoes
mcm outlet
cheap snapbacks
air huarache
true religion outlet
nike pegasus
air jordan 12
birkenstock sandals
raptors jerseys
christian louboutin outlet
tory burch outlet
cheap jordans
nfl jerseys wholesale
tods outlet
supra shoes
air max 1
ferragamo outlet
air force 1
coach outlet
cheap jordans
visvim shoes
san antonio spurs jerseys
trailblazers jerseys
jordan shoes
burberry outlet
longchamp handbags
ferragamo outlet
basketball shoes
michael kors outlet
kevin durant shoes
kappa clothing
canada goose outlet
canada goose outlet
mbt shoes
valentino outlet
nike shoes
pandora charms sale clearance
champion clothing
nike blazer pas cher
cheap jordans
fitflops sale
longchamp solde
ugg boots
ray ban sunglasses
ugg outlet
michael kors outlet
reebok outlet store
coach outlet
mont blanc pens
nike outlet
longchamp bags
kd 10 elite
ugg outlet
ugg boots clearance
pandora charms
merrell shoes
polo ralph lauren
fitflops sale clearance
nhl jerseys
nets jerseys
moncler outlet
ray ban sunglasses
nobis outlet
canada goose outlet
michael kors
adidas outlet
golden goose sneakers
canada goose coats
thunder jerseys
michael kors outlet
pelicans jerseys
true religion jeans
van cleef & arpels jewelry
uggs outlet
dior outlet
coach outlet
palladium boots
herve leger outlet
michael kors outlet
true religion jeans
hermes birkin
chloe sunglassess
freshjive clothing
basketball jerseys
polo outlet
canada goose outlet
rockets jerseys
karen millen dresses
marc jacobs outlet
chopard jewelry
canada goose outlet
coach outlet
coach outlet
ugg outlet
michael kors
brequet wathes
oakley sunglasses
coach outlet store online
grizzlies jerseys
ray ban sunglasses
jerseys from china
oakley sunglasses
moncler outlet
michael kors outlet
canada goose outlet
fingerlings monkey
pandora charms
jimmy choo sunglasses
oakley sunglasses
cheap football shirts
malone souliers mules
76ers jerseys
lakers jerseys
gucci outlet
nike revolution
adidas ultra boost
calvin klein jeans
air jordan release dates
christian louboutin shoes
burberry outlet
polo ralph lauren
cheap mlb jerseys
moncler outlet
tag heuer watches
red bottom shoes
michael kors outlet
swarovski crystal
nfl jersey wholesale
jordan shoes
gucci outlet
mishka clothing
bucks jerseys
ugg boots
michael kors outlet
longchamp outlet
football shirts
dolce and gabbana
ugg outlet
coach outlet online
dsquared2 jeans
true religion jeans
michael kors outlet
audemars piguet watches
canada goose outlet
saucony shoes
canada goose outlet
adidas outlet
longchamp solde
pandora charms
longchamp handbags
off white
fred perry polo shirts
ferragamo outlet
christian louboutin boutique
cazal sunglasses
mulberry handbags
huf clothing
canada goose outlet
cartier jewelry
bulgari jewelry
balmain jeans
true religion jeans
guess factory
cheap jordans
golden state warriors jerseys
michael kors outlet
pandora charms
adidas nmd
canada goose jackets
keen shoes
coach handbags
light up shoes
coach canada
harry winston jewelry
oakley sunglasses
diesel jeans
north face jackets
swarovski outlet
mulberry handbags
uggs outlet
jordan shoes
michael kors outlet online
balenciaga sneakers
ugg boots clearance
under armour outlet
uggs
air jordan shoes
fitflops sale
air jordan shoes
canada goose jackets
michael kors outlet
ray ban sunglasses
tory burch outlet
jordan shoes
jimmy choo shoes
wizards jerseys
Logged
ninest123
Ветеран
*****

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


View Profile Email
« Reply #11 on: 20 August 2018, 15:23 »

canada goose outlet online
christian louboutin outlet
coach outlet
uggs canada
michael kors outlet
coach outlet
north face jackets
mlb jerseys
pandora outlet
ugg boots clearance
moncler coats
christian louboutin shoes
canada goose
michael kors outlet
ultra boost
mbt outlet
christian louboutin shoes
oakley sunglasses wholesale
michael kors outlet clearance
coach factory outlet online
north face jackets
uggs outlet
cheap ugg boots
tory burch outlet
kate spade outlet
canada goose jackets
polo outlet
ray ban sunglasse
cheap uggs
nfl jerseys wholesale
fred perry clothing
coach outlet online
michael kors outlet
canada goose outlet online
hermes outlet
adidas outlet online
coach outlet
gucci outlet store
pandora charms
uggs outlet
canada goose jackets
mulberry bags
canada goose jackets
coach factory outlet
kobe shoes
lebron shoes
pandora outlet
michael kors outlet online
lacoste shirts
pandora charms
canada goose jackets canada
coach outlet store online
huarache shoes
ralph lauren outlet
coach factory outlet
polo ralph lauren outlet
rolex watches
kate spade sale
nfl jerseys wholesale
michael kors outlet online
fitflops sale
michael kors outlet online
oakley sunglasses wholesale
michael kors handbags
pandora jewelry outlet
ugg outlet store
coach outlet
christian louboutin outlet
ugg outlet online clearance
coach outlet
gucci outlet online
adidas yeezy shoes
kobe 12 shoes
ugg outlet
mont blanc pens
mulberry bags
coach factory outlet
michael kors handbags sale
coach outlet store online clearance
canada goose jackets
ralph lauren uk
fred perry clothing
kate spade outlet
canada goose outlet
ralph lauren polo
cheap nfl jerseys
ugg boots
yeezy boost
coach outlet online
cheap jordans for sale
coach outlet
canada goose outlet store
longchamp outlet online
uggs outlet
polo shirts
off white hoodie
true religion outlet
michael kors outlet online
ugg,uggs,uggs canada
ed hardy outlet
chenqiuying20180820
Logged
ninest123
Ветеран
*****

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


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

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: 16 October 2018, 10:43 »

chenqiuying20181016
michael kors outlet online
supreme paris
kate spade handbags
adidas outlet online
kate spade handbags
coach factory outlet
nike kyrie
cheap oakley sunglasses
coach outlet
coach outlet online
ralph lauren pas cher
mcm bags
michael kors outlet
coach outlet online
canada goose outlet store
coach factory outlet
coach factory outlet
michael kors outlet online
canada goose outlet store
michael kors outlet clearance
pandora outlet
longchamp outlet online
moncler outlet online
ray ban pas cher
tory burch sandals
polo ralph lauren
michael kors outlet online
prada outlet online
michael kors outlet online
michael kors outlet online
nike outlet store
michael kors outlet online
cheap jordan shoes
true religion outlet store
nike outlet store
canada goose
canada goose outlet store
michael kors outlet
ugg,uggs,uggs canada
ray ban sunglasses outlet
cheap ray ban
mbt shoes outlet
ferragamo shoes sale
coach factory outlet
louboutin shoes
adidas outlet
coach outlet
ugg outlet
kate spade handbags
oakley sunglasses
oakley sunglasses
michael kors outlet online
canada goose
mont blanc outlet
coach factory outlet
coach outlet online
michael kors handbags
pandora jewelry outlet
mbt
pandora charms sale clearance
adidas outlet store
pandora jewelry
cheap ugg boots
cheap oakley sunglasses
canada goose outlet store
canada goose jackets
moncler coats
michael kors outlet online
kate spade outlet online
pandora jewelry
coach factory outlet
michael kors outlet
canada goose
coach outlet
coach outlet online
nfl jerseys wholesale
pandora charms outlet
lacoste polo
ugg outlet
mbt shoes clearance outlet
ugg outlet
adidas nmd r2
coach outlet
snapbacks wholesale
christian louboutin
christian louboutin shoes
christian louboutin shoes
louboutin outlet
michael kors outlet
michael kors outlet online
louboutin outlet
ugg outlet
coach factory outlet
canada goose outlet
polo ralph lauren
christian louboutin shoes
michael kors outlet
vans store
canada goose
canada goose uk
chenqiuying20181016
Logged
ninest123
Ветеран
*****

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


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

cai123 10.24
cheap jordans
cheap air jordans
coach factory outlet online
timberland boots outlet
pandora canada
nike free 3.0
cheap jordan shoes
moncler outlet online
pandora charms sale
moncler outlet store
cheap jordan shoes
adidas yeezy boost
adidas nmd r1
christian louboutin shoes
cheap jordans
pandora sale clearance
canada goose coats
mont blanc pen
jimmy choo
cheap oakley sunglasses
fred perry outlet
coach factory outlet
coach factory outlet online
converse shoes
nike shoes outlet
pandora outlet store
moncler jackets
ecco shoes
michael kors outlet store
canada goose outlet
pandora charms
coach factory outlet
birkenstock sandals
uggs outlet
cheap oakley sunglasses
canada goose outlet store
fitflop sandals
michael kors outlet online
mlb jerseys wholesale
michael kors outlet clearance
tiffany and co outlet
nike zoom
timberland boots
louis vuitton factory outlet
cheap nike shoes
air jordan shoes
cheap jordan shoes
ugg canada
air jordan retro
ugg boots
pandora charms
kate spade outlet
air more uptempo
supra for sale
coach outlet online
asics outlet store
air max
true religion outlet store
canada goose jackets
pandora outlet
kate spade outlet store
kate spade handbags
coach outlet online
pg 2 shoes
pandora jewelry store
gucci outlet store
canada goose outlet
michael kors
tory burch handbags
ralph lauren outlet online
nike air max 97
nike air max 2019
ugg shoes
jimmy choo shoes
ugg outlet
louboutin shoes
louis vuitton outlet online
michael kors outlet online
louis vuitton outlet online
michael kors
dansko shoes
uggs outlet
adidas outlet online
ugg boots
ugg outlet
kyrie 4
pandora charms outlet
nike outlet online
prada shoes
birkenstock shoes outlet
skechers outlet
air max shoes
birkenstock outlet store
yeezy boost 350
ugg outlet online
gucci outlet online
kate spade outlet online
louboutin outlet
converse outlet
uggs outlet
cai123 10.24
Logged
Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic