summaryrefslogtreecommitdiffstats
path: root/doc/scriptexamples/popup3.kvs
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-24 02:13:59 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-24 02:13:59 +0000
commita6d58bb6052ac8cb01805a48c4ad2f129126116f (patch)
treedd867a099fcbb263a8009a9fb22695b87855dad6 /doc/scriptexamples/popup3.kvs
downloadkvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.tar.gz
kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.zip
Added KDE3 version of kvirc
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'doc/scriptexamples/popup3.kvs')
-rw-r--r--doc/scriptexamples/popup3.kvs46
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/scriptexamples/popup3.kvs b/doc/scriptexamples/popup3.kvs
new file mode 100644
index 00000000..0ad7d4a6
--- /dev/null
+++ b/doc/scriptexamples/popup3.kvs
@@ -0,0 +1,46 @@
+defpopup (channeltextview)
+{
+ item(Leave $0,40){ part $0; }
+}
+
+
+event (OnChannelTextViewRightClicked,default){ if("$target" != "")popup channeltextview $target; }
+
+
+defpopup (querytextview)
+{
+ item(Whois $0,57){ whois $0; }
+}
+
+
+event (OnQueryTextViewRightClicked,default){ if("$target" != "")popup querytextview $target; }
+
+
+
+defpopup (consoletextview)
+{
+ popup(Server queries,13)
+ {
+ item(Version,16)version
+ item(Motd,30)motd
+ item(Info,29)info
+ item(Admin,29)admin
+ item(Lusers,57)lusers
+ item(Time,93)time
+ item(Help,49)raw help
+ popup(Stats,22)
+ {
+ item(d (debug/dns ?))stats d
+ item(l (connections))stats l
+ item(m (command usage))stats m
+ item(o (operators))stats o
+ item(t (connection stats ?),23)stats t
+ item(u (uptime),93)stats u
+ item(y (y-lines))stats y
+ item(z (debug stats ?),11)stats z
+ }
+ }
+}
+
+
+event (OnConsoleTextViewRightClicked,default){ popup consoletextview; }