Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
23
script/query.bx
Normal file
23
script/query.bx
Normal file
@@ -0,0 +1,23 @@
|
||||
#From: Joost Vunderink <jvunder@wins.uva.nl>
|
||||
#Subject: Auto-query update on nickchange
|
||||
|
||||
#Hello panasync!
|
||||
|
||||
#I am Garion, and I have asked you some questions on #bitchx to be able to
|
||||
#automatically follow any nickchanges observed in channels in your queries.
|
||||
#After a lot of puzzling I finally got something to work and I thought that
|
||||
#you might be interested in it.
|
||||
#Here is the script:
|
||||
|
||||
# If someone changes their nick and you have a query with that person in
|
||||
# a hidden window, the query changes as well with the following script.
|
||||
on -nickname "*" {
|
||||
if ( querywin($0) > 0 ) {
|
||||
@ winnum = querywin($0)
|
||||
xeval -win $winnum {
|
||||
query $1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user