diff options
| author | 2007-01-22 18:37:09 +0000 | |
|---|---|---|
| committer | 2007-01-22 18:37:09 +0000 | |
| commit | 9ef37b58badb9f0dad5f6c5f5571228e1c00c404 (patch) | |
| tree | 2405728e72652ea2f063b709dd58d7bcd56bd8f3 /data/defscript | |
| parent | moved all occurences of $split into $str.split (diff) | |
| download | KVIrc-9ef37b58badb9f0dad5f6c5f5571228e1c00c404.tar.gz KVIrc-9ef37b58badb9f0dad5f6c5f5571228e1c00c404.tar.bz2 KVIrc-9ef37b58badb9f0dad5f6c5f5571228e1c00c404.zip | |
fixed flags for channel owner/admin in gnotice
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@228 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'data/defscript')
| -rw-r--r-- | data/defscript/default.kvs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/data/defscript/default.kvs b/data/defscript/default.kvs index 797f60f0b..f9e6f32e9 100644 --- a/data/defscript/default.kvs +++ b/data/defscript/default.kvs @@ -98,9 +98,9 @@ alias(gnotice) #Check null notice if(!$0){ - echo $tr("Usage"): /gnotice [-acohvq] <$tr("message")> - echo $tr("-a: send notice to all channel owners") - echo $tr("-c: send notice to all channel admins") + echo $tr("Usage"): /gnotice [-waohvq] <$tr("message")> + echo $tr("-w: send notice to all channel owners") + echo $tr("-a: send notice to all channel admins") echo $tr("-o: send notice to all channel ops") echo $tr("-h: send notice to all channel halfops") echo $tr("-v: send notice to all channel voices") @@ -109,7 +109,7 @@ alias(gnotice) } # Check null switches - if((!$sw(a))&&(!$sw(c))&&(!$sw(o))&&(!$sw(h))&&(!$sw(v))){ + if((!$sw(w))&&(!$sw(a))&&(!$sw(o))&&(!$sw(h))&&(!$sw(v))){ notice $chan.name($active) $0- halt } @@ -121,10 +121,10 @@ alias(gnotice) %cmd="notice" # Check switches passed - if($sw(a)) + if($sw(w)) eval %cmd \~$chan.name($active) $0- - if($sw(c)) + if($sw(a)) eval %cmd \!$chan.name($active) $0- if($sw(o)) |
