diff options
| author | 2009-09-01 22:12:36 +0000 | |
|---|---|---|
| committer | 2009-09-01 22:12:36 +0000 | |
| commit | ea06d9bbbd8d8ef75034bfc3f62838f193537984 (patch) | |
| tree | a437eeabaa4b3d09f3313a6b0dd07b5bb961749d /data/defscript | |
| parent | updated splash screen (diff) | |
| download | KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.tar.gz KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.tar.bz2 KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.zip | |
- trailing whitespace cleanups all over the place
- removed charset dependent manpages since it really makes no sense to distribute them, they are getting installed in non standard places and one manpage per language is enough
- added SpotChat to the serverdb, happens to be my network anyway :P (someone should remind me to check all the networks and servers there so we can do a cleanup if needed
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3463 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'data/defscript')
| -rw-r--r-- | data/defscript/aliases.kvs | 12 | ||||
| -rw-r--r-- | data/defscript/classes.kvs | 10 | ||||
| -rw-r--r-- | data/defscript/popups.kvs | 12 | ||||
| -rw-r--r-- | data/defscript/theme-install.kvs | 2 |
4 files changed, 18 insertions, 18 deletions
diff --git a/data/defscript/aliases.kvs b/data/defscript/aliases.kvs index d12809a25..6f0bfd15c 100644 --- a/data/defscript/aliases.kvs +++ b/data/defscript/aliases.kvs @@ -92,7 +92,7 @@ alias(ms) alias(gnotice) { # Global notice - + # Check channel validity %szChan = $0 if(!%szChan) @@ -107,7 +107,7 @@ alias(gnotice) echo $tr("-q: quiet mode") halt } - + # Check the message validity %szMsg = $1- if($str.length(%szMsg) == 0) @@ -116,21 +116,21 @@ alias(gnotice) echo $tr("Type /gnotice for help") halt } - + # Detect message type if($sw(m,message)) %szCmd = "msg" else %szCmd = "notice" - + # Check for quiet message if($sw(q,quiet)) %szCmd = $str.append(%szCmd," -q") - + # Check null switches if((!$sw(w,owners)) && (!$sw(a,admins)) && (!$sw(o,ops)) && (!$sw(h,halfops)) && (!$sw(v,voices))) { eval %szCmd %szChan %szMsg halt } - + # Check switches passed if($sw(w,owners)) eval %szCmd \~%szChan %szMsg if($sw(a,admins)) eval %szCmd \!%szChan %szMsg diff --git a/data/defscript/classes.kvs b/data/defscript/classes.kvs index 88ce2a3ef..9d397c114 100644 --- a/data/defscript/classes.kvs +++ b/data/defscript/classes.kvs @@ -7,7 +7,7 @@ class(installer,object) { $$->%iNumFiles = 0 } - + copyFiles($0 = source dir, $1 = file regexp, $2 = target dir) { if($0 == "") @@ -15,19 +15,19 @@ class(installer,object) echo "[Installer] Error: the first argument of copyFiles must be a source directory" halt } - + if($1 == "") { echo "[Installer] Error: the second argument of copyFiles must be a file name or file regexp" halt } - + if($2 == "") { echo "[Installer] Error: the third argument of copyFiles must be a destination directory" halt } - + if($file.exists($0)) { %files[] = $file.ls($0,f,$1) @@ -43,7 +43,7 @@ class(installer,object) } } } - + generateUninstallAlias($0 = alias name) { %c = "alias($0)$lf" diff --git a/data/defscript/popups.kvs b/data/defscript/popups.kvs index 33b91cc78..6fd04c41d 100644 --- a/data/defscript/popups.kvs +++ b/data/defscript/popups.kvs @@ -101,7 +101,7 @@ defpopup(ignore) %:inIgnoreList = $reguser.isIgnoreEnabled(%:regName); if(%:inIgnoreList) %:ignLabelText << $tr("is being ignored") else %:ignLabelText << $tr("is not being ignored") - + %:ignLabelText << "</p>" } else { %:ignLabelText << $tr("is not being ignored")"</p>" @@ -620,7 +620,7 @@ defpopup(channel) } } separator - + item($tr("Configure ban mask..."),20) { options.edit KviChannelAdvancedOptionsWidget @@ -685,7 +685,7 @@ defpopup(channelpopup) { str.toClipboard $chan.getUrl($0) } - + } defpopup(channels) @@ -756,7 +756,7 @@ defpopup(channeltextview) { str.toClipboard $chan.getUrl } - + item($tr("Clear Buffer"),121) { clear; @@ -949,7 +949,7 @@ defpopup(dcc) { dcc.send $0 } - + item($tr("Secure send to") $0,79) { dcc.send -s $0 @@ -959,7 +959,7 @@ defpopup(dcc) { dcc.rsend -z $0 } - + item($tr("Secure Reverse Send to") $0,79) { dcc.rsend -z -s $0 diff --git a/data/defscript/theme-install.kvs b/data/defscript/theme-install.kvs index febbbbc07..606ec43c0 100644 --- a/data/defscript/theme-install.kvs +++ b/data/defscript/theme-install.kvs @@ -1,7 +1,7 @@ addon.register("Theme: @THEMENAME@","@THEMEVERSION@",$tr("@THEMENAME@"),$tr("@THEMEDESCRIPTION@"),"3.2.0.99") { # This is our uninstall callback: it will be called by KVIrc when addon.uninstall is invoked - + # This is an automatically generated alias that will erase the installed files @ALIASNAME@_uninstallfiles file.rmdir $file.localdir("themes/@SUBDIR@") |
