Loading ...
Sorry, an error occurred while loading the content.

Re: [NTS] Do a Leet (l33t) clip

Expand Messages
  • loro
    Hi Murilo, ... There probably are more elegant and involved ways to do this, but here s an easy way. Take a look at ^$StrReplace()$ in Clip Help. I only did A
    Message 1 of 10 , Apr 9 2:02 PM
    View Source
    • 0 Attachment
      Hi Murilo,

      >Anyone can help me to create a clip to convert a block of text with
      >(leet) (l33t) language using notetab?

      There probably are more elegant and involved ways to do this, but
      here's an easy way. Take a look at ^$StrReplace()$ in Clip Help. I
      only did A - D here, you have to add the rest and maybe change mine
      to the flavour of leet you want.

      ________________________

      h="leetifier"

      ; Get the selected text in a variable
      ^!Set %leet%=^$GetSelection$

      ; Replace character by character.
      ; These lines are all the same apart from the "SubStr" and
      ; "ReplaceStr" bits.
      ; Add more for the rest of the alphabet.
      ^!Set %leet%=^$StrReplace("A";"|4";"^%leet%";false;false)$
      ^!Set %leet%=^$StrReplace("B";"|3";"^%leet%";false;false)$
      ^!Set %leet%=^$StrReplace("C";"(";"^%leet%";false;false)$
      ^!Set %leet%=^$StrReplace("D";"|)";"^%leet%";false;false)$
      ^!Set %leet%=^$StrReplace("E";"3";"^%leet%";false;false)$


      ;Do something with it.
      ^!Info ^%leet%
      ________________________

      BTW, this should probably have gone on the clip list. We have a LOT
      of lists! ;-)
      <mailto:ntb-Clips-Subscribe@yahoogroups.com>

      Lotta
    • loro
      I believe A is 4, not |4. Got a little pipe happy there. ... ^!Set %leet%=^$StrReplace( A ; 4 ; ^%leet% ;false;false)$ Not that it matters, but anyway... Lotta
      Message 2 of 10 , Apr 9 2:45 PM
      View Source
      • 0 Attachment
        I believe A is 4, not |4. Got a little pipe happy there.

        I wrote:
        >^!Set %leet%=^$StrReplace("A";"|4";"^%leet%";false;false)$

        ^!Set %leet%=^$StrReplace("A";"4";"^%leet%";false;false)$

        Not that it matters, but anyway...

        Lotta
      • loro
        OK, this was fun so I couldn t resist to finish it. I don t know what the current status of leet is, so with reservations for that, here goes.
        Message 3 of 10 , Apr 9 4:49 PM
        View Source
        • 0 Attachment
          OK, this was fun so I couldn't resist to finish it. I don't know what
          the current status of leet is, so with reservations for that, here goes.

          _________________________________

          H="leetifier"

          ^!Set %leet%=^$GetSelection$

          ^!Set %leet%=^$StrReplace("A";"4";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("B";"|3";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("C";"(";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("D";"|)";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("E";"3";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("F";"|=";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("G";"6";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("H";"#";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("I";"!";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("J";"¿";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("K";"|<";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("L";"1";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("M";"|v|";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("N";"|\|";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("O";"0";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("P";"|*";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("Q";"(_,)";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("R";"®";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("S";"$";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("T";"7";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("U";"(_)";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("V";"\/";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("W";"\\'";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("X";"%";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("Y";"`/";"^%leet%";false;false)$
          ^!Set %leet%=^$StrReplace("Z";"~/_";"^%leet%";false;false)$

          ^!Info ^%leet%
          _________________________________


          |\|07374|3 ®(_)13~/_! w00t w00t! \(^.^)/


          |<!|\||) ®364®|)$,
          10774
        • loro
          Actually, you have to place the M line last, or the v in |v| gets translated twice (but | /| also means M).. I don t know if everyone gets two emails for every
          Message 4 of 10 , Apr 9 5:53 PM
          View Source
          • 0 Attachment
            Actually, you have to place the M line last, or the v in |v| gets
            translated twice (but |\/| also means M)..

            I don't know if everyone gets two emails for every post, but it isn't
            me doing it.

            Lotta
          • David Smart
            Lotta I m only getting one copy of each e-mail - including yours. You re not subscribed to the list under two different e-mail addresses are you? Regards, Dave
            Message 5 of 10 , Apr 9 7:23 PM
            View Source
            • 0 Attachment
              Lotta

              I'm only getting one copy of each e-mail - including yours.

              You're not subscribed to the list under two different e-mail addresses are
              you?

              Regards, Dave S

              ----- Original Message -----
              From: "loro" <loro@...>
              To: <ntb-scripts@yahoogroups.com>
              Sent: Thursday, April 10, 2008 10:53 AM
              Subject: Re: [NTS] Do a Leet (l33t) clip - whole shebang, correction


              > Actually, you have to place the M line last, or the v in |v| gets
              > translated twice (but |\/| also means M)..
              >
              > I don't know if everyone gets two emails for every post, but it isn't
              > me doing it.
              >
              > Lotta
              >
              >
              > ------------------------------------
              >
              > Fookes Software: http://www.fookes.com/
              > NoteTab website: http://www.notetab.com/
              > NoteTab Discussion Lists: http://www.notetab.com/groups.php
              >
              > ***
              > Yahoo! Groups Links
              >
              >
              >
            • Murilo Rodrigues
              Ok, Thank you very much! Only to complete the REPLACE in the modified text you must include the FINAL line to Clip. ^!InsertCode ^%leet% Regards, Murilo Ps:
              Message 6 of 10 , Apr 10 12:38 AM
              View Source
              • 0 Attachment
                Ok, Thank you very much!

                Only to complete the REPLACE in the modified text you must include the FINAL line to Clip.

                ^!InsertCode ^%leet%

                Regards, Murilo
                Ps: This final line cost to me a big headache...


                ----- Original Message -----
                From: loro
                To: ntb-scripts@yahoogroups.com
                Sent: Wednesday, April 09, 2008 8:49 PM
                Subject: Re: [NTS] Do a Leet (l33t) clip - whole shebang


                OK, this was fun so I couldn't resist to finish it. I don't know what
                the current status of leet is, so with reservations for that, here goes.

                _________________________________

                H="leetifier"

                ^!Set %leet%=^$GetSelection$

                ^!Set %leet%=^$StrReplace("A";"4";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("B";"|3";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("C";"(";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("D";"|)";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("E";"3";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("F";"|=";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("G";"6";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("H";"#";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("I";"!";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("J";"¿";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("K";"|<";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("L";"1";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("M";"|v|";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("N";"|\|";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("O";"0";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("P";"|*";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("Q";"(_,)";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("R";"®";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("S";"$";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("T";"7";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("U";"(_)";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("V";"\/";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("W";"\\'";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("X";"%";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("Y";"`/";"^%leet%";false;false)$
                ^!Set %leet%=^$StrReplace("Z";"~/_";"^%leet%";false;false)$

                ^!Info ^%leet%
                _________________________________

                |\|07374|3 ®(_)13~/_! w00t w00t! \(^.^)/

                |<!|\||) ®364®|)$,
                10774





                [Non-text portions of this message have been removed]
              • loro
                Dave, ... You are right. The duplicates are to another address I didn t even know I had ever used. It started with Murilo s first post. I ll go check the
                Message 7 of 10 , Apr 10 3:36 AM
                View Source
                • 0 Attachment
                  Dave,
                  >You're not subscribed to the list under two different e-mail addresses are
                  >you?

                  You are right. The duplicates are to another address I didn't even
                  know I had ever used. It started with Murilo's first post. I'll go
                  check the settings. Must be the yahoogroups gremlin again.

                  Thanks.
                  Lotta
                • Murilo Rodrigues
                  Hi, If you have a lot of lists, please send to my email the most interesting! Regard s, Murilo ... From: loro To: ntb-scripts@yahoogroups.com Sent: Wednesday,
                  Message 8 of 10 , Apr 10 5:06 AM
                  View Source
                  • 0 Attachment
                    Hi,

                    If you have a lot of lists, please send to my email the most interesting!

                    Regard's, Murilo

                    ----- Original Message -----
                    From: loro
                    To: ntb-scripts@yahoogroups.com
                    Sent: Wednesday, April 09, 2008 6:02 PM
                    Subject: Re: [NTS] Do a Leet (l33t) clip


                    >Hi Murilo,

                    >;Do something with it.
                    >^!Info ^%leet%
                    >________________________

                    >BTW, this should probably have gone on the clip list. >We have a LOT
                    >of lists! ;-)
                  • loro
                    ... If you want to join the clip list, send an empty email to this address. Jody, the original list owner and
                    Message 9 of 10 , Apr 10 5:23 AM
                    View Source
                    • 0 Attachment
                      Murilo wrote:
                      >If you have a lot of lists, please send to my email the most interesting!

                      If you want to join the clip list, send an empty email to this address.
                      <mailto:ntb-Clips-Subscribe@yahoogroups.com>

                      Jody, the original list owner and Notetab guru galore, who sadly
                      passed away last year, divided the discussions in a couple of
                      different lists. Their number grew and grew. This has worked well
                      for many years even if it may seem confusing to start with. You can
                      see all the lists at Jody's site that's still up (thanks for that, Eric!).
                      <http://www.notetab.net/html/maillist.htm>

                      Lotta
                    Your message has been successfully submitted and would be delivered to recipients shortly.