Bryan Drewery 22 лет назад
Родитель
Сommit
0ede1f273c
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      scripts/mIRC/wraith.mrc

+ 3 - 3
scripts/mIRC/wraith.mrc

@@ -26,8 +26,8 @@ alias setauth {
 }
 
 ALIAS -l psy {
-  if ($1 != $chr(40) && $1 != $chr(41)) {
-    return 0
+  if ($1 == $chr(40) || $1 == $chr(41)) {
+    return 1
   }
 }
 
@@ -42,7 +42,7 @@ ON *:TEXT:auth*:?:{
   var %c = %auth. [ $+ [ $nick ] ]
   if (!$3) {
     ;if this is a MSG not psybnc DCC, and we arent cleared to auth with them, IGNORE.
-    if (!$psy($left($nick, 1) && !%c) {
+    if (!$psy($left($nick, 1)) && !%c) {
       return
     }
     if ($right($1,1) == . && %c) {