All pastes #809036 Raw Edit

Stuff

public text v1 · immutable
·published 2007-12-08 04:38 UTC
rendered paste body
OK Zen, here's my script, actually yours, but w/e.. I added to it :p
--------------------------------------------------------
alias -l c1 { return $+(14,$1-,) } 
alias -l c2 { return $+(02,$1-,) } 
alias -l c3 { return $+(04,$1-,) } 
on *:start:{  if ($server == irc.earth2me.net) {
    echo -a $c2(15) $c1(by) $c2(Supertech1 [Zenexer]) 
    echo -a $c1(01Primary Color) $c2(Primary Highlight) $c3(Secondary Highlight) 
  } 
  raw 536:* is filtering messages:{ 
    var %cnt = 0 
    :loop 
    inc %cnt 
    if ($query(%cnt) == $2) { 
      msg $2 $c3(Warning) $+ $c2(:) $c1(You have filtering enabled.  To disable the filtering system, type) $c2(/mode $2 -f) 
    } 
    if (%cnt <= $query(0)) { goto loop } 
  } 
  raw 311:*:{ 
    if ($query(0) != 0) { 
      var %cnt = 0 
      :loop 
      inc %cnt 
      if ($query(%cnt) == $2) { 
        msg $2 $c2(Notice:) $c1(This conversation is being logged for security reasons. I reserve the right to show this private message to anyone shall it be necessary.  Nickname:) $c2($2) $c1(Username:) $c2($3) $c1(Hostmask:) $c2($4) $c1(Realname:) $c2($6) 15Script written by Zenexer [Supertech1] 2Editing by:15 Steve
        msg $2 15 If you would like to continue, type 2!Yes15 If not, type 2!No
        msg $2 15 I will 2not15 respond until then
      } 
      if (%cnt <= $query(0)) { goto loop } 
    } 
  } 
  raw 319:*:{ 
    if ($query(0) != 0) { 
      var %cnt = 0 
      :loop 
      inc %cnt 
      if ($query(%cnt) == $2) { 
        msg $2 $c1(Channels:) $c2($replace($3-,$chr(32),$chr(44) $+ $chr(32))) 
      } 
      if (%cnt <= $query(0)) { goto loop } 
    } 
  }
  on *:TEXT:!Yes*:?: {
    msg $nick 15 You may 2now ask15 what you where going to.
  }
  on *:TEXT:!No*:?: {
    msg $nick 15 As you have chosen 2No15, I'm closing the PM.
  }
}


And here is the error msg Im getting
---------------------------------------------

311:*:{ Unknown command
-
-> Server: 536:* is filtering messages:{
-
-> *04Warning02:* 14You have filtering enabled. To disable the filtering system type 02/mode -f
-
-> Server: 311:*:{
-
* /goto: duplicate 'loop' found
-
536:* Unknown command
-
04Warning02: No such nick/channel