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/aliases.kvs | |
| 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/aliases.kvs')
| -rw-r--r-- | data/defscript/aliases.kvs | 12 |
1 files changed, 6 insertions, 6 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 |
