Results 1 to 7 of 7

Thread: [TEMP] "repairing" scripts with "***40;" and so forth

  1. #1
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default [TEMP] "repairing" scripts with "***40;" and so forth

    Now with the vB bug and all, when people post scripts ( and ) will be replaced with ***40; and ***41; (Example). Run this script to "fix" the script.

    1. Copy the script you want to run to clipboard (using CTRL + C and so on)
    2. Run the script I've posted below.
    3. Now the script you copied at 1. is now fixed and ready to use.

    Code:
    var
      S : String;
      I : Integer;
    
    begin
      S := GetClipBoard;
      for I := 1 to 9001 do
        S := Replace(S, '***' + ToStr(I) + ';', Chr(I), [rfReplaceAll]);
      SetClipBoard(S);
    end.

  2. #2
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You can also quote it in a new tab, and copy it from there
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  3. #3
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Or use code-tags instead of Simba ones.

    edit: Harryjames oldtimer wtf.
    I made a new script, check it out!.

  4. #4
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Yeah I just needed something to 'covert' the scripts fast and easy, and made this. Though it might be nice for others too

  5. #5
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    I didn't know about those clipboard functions, thanks for teaching me something

  6. #6
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    Or use code-tags instead of Simba ones.

    edit: Harryjames oldtimer wtf.
    I'm 05hartor, but I decided to change my name (:
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  7. #7
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Echo_ View Post
    I didn't know about those clipboard functions, thanks for teaching me something
    Hahah The script wasn't completely useless then

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •