MSPA Forums
Page 15 of 60 FirstFirst ... 51213141516171825 ... LastLast
Results 351 to 375 of 1485

Thread: Pesterchum Quirks thread: Request and post your quirks here!

  1. #351

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by cardiacAtrophy View Post
    You typed Gradient(/1), not gradient (\1).
    Of course I did, it would have to be something tiny and obvious like that.

    It is still misbehaving, though. The text is now just black.

  2. #352
    Mage of Rage MegaRock35's Avatar
    Join Date
    Nov 2011
    Location
    Land of Trees and Hicks (Southern Virginia)
    Pronouns
    he/him/his
    Posts
    1,514

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by maybeitsavirus View Post
    Of course I did, it would have to be something tiny and obvious like that.

    It is still misbehaving, though. The text is now just black.
    You have to include the # with the hex codes for the gradient, or else it defaults to black. For example, #FF0000 works fine but FF0000 does not.
    | | | | | | | |

  3. #353
    Knight of Heart Captain Combusken's Avatar
    Join Date
    Nov 2011
    Location
    Land of Hope and Glory
    Pronouns
    he/him/his
    Posts
    1,204

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    How do I do it so that when I random replace, only vowels are included? My current quirk does all letters.
    (Avatar by D_What)

  4. #354

    Join Date
    Jun 2012
    Location
    The Land of Mist and Spires
    Posts
    106

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    I have no idea what to use for a quirk! I want something that fits my personality (slightly bubbly with a dark twist). Right now I just have a stupid prefix emoticon. It's <(^o^)>. I know, lame. Gah. Any suggestions?

  5. #355

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Hello there! I want a quirk that looks like this:

    [!][hello][!] [?][are you okay?][?]

    And this is pretty much optional, but can I limit my messages to show only 5 words at a time?

  6. #356
    His Honorable Tyranny cardiacAtrophy's Avatar
    Join Date
    Dec 2011
    Location
    Land of Lack and Struggle
    Pronouns
    he/him/his
    Posts
    1,092

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by Captain Combusken View Post
    How do I do it so that when I random replace, only vowels are included? My current quirk does all letters.
    To catch only vowels, simply use ([aeiou])

    Quote Originally Posted by Millidred View Post
    Hello there! I want a quirk that looks like this:

    [!][hello][!] [?][are you okay?][?]

    And this is pretty much optional, but can I limit my messages to show only 5 words at a time?

    I'm not sure what it is you mean. I can see that a word with no punctuation is surrounded by [!], but then others are surrounded by [?] when the last word has a ?

    Do you mean when there's no punctuation, use [!], and when there's punctuation at the end, surround it with [punctuation]?

    As for limiting the messages, just don't type more than 5 words.

    EDIT: Please read the first post. I've updated some information.

  7. #357

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by cardiacAtrophy View Post
    To catch only vowels, simply use ([aeiou])




    I'm not sure what it is you mean. I can see that a word with no punctuation is surrounded by [!], but then others are surrounded by [?] when the last word has a ?

    Do you mean when there's no punctuation, use [!], and when there's punctuation at the end, surround it with [punctuation]?

    As for limiting the messages, just don't type more than 5 words.

    EDIT: Please read the first post. I've updated some information.
    I want a sentence to be enclosed by square brackets except for the ending punctuation, which is also enclosed by square brackets but put outside the sentence. The same punctuation will be put before the sentence, also enclosed by brackets.

    So it looks like this:

    [.][it's hard to understand all these mess][.]

    Without the punctuation, only the bracketed message will appear.
    (The question mark inside the message is a typo I didn't notice)
    Last edited by Millidred; 06-24-2012 at 05:35 AM.

  8. #358
    His Honorable Tyranny cardiacAtrophy's Avatar
    Join Date
    Dec 2011
    Location
    Land of Lack and Struggle
    Pronouns
    he/him/his
    Posts
    1,092

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    regexp: ^(/w+[^.?!])$
    replace: [\1]

    regexp: ^K(/w+)([.?!])$
    replace: [\2][\1][\2]

    That should do it.
    Last edited by cardiacAtrophy; 06-25-2012 at 09:01 AM.

  9. #359

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by MegaRock35 View Post
    You have to include the # with the hex codes for the gradient, or else it defaults to black. For example, #FF0000 works fine but FF0000 does not.
    I did, though.

  10. #360
    His Honorable Tyranny cardiacAtrophy's Avatar
    Join Date
    Dec 2011
    Location
    Land of Lack and Struggle
    Pronouns
    he/him/his
    Posts
    1,092

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by maybeitsavirus View Post
    I did, though.
    We can't figure out the problem simply based on what you tell us, we need to see the code. Please copy and paste it in here, along with your quirks.

  11. #361

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    I'm having trouble switching v with w and w with v. I tried simple replaces for both of them and v would become w but w wouldn't change to v.

  12. #362
    trulyElse's Avatar
    Join Date
    Jan 2012
    Location
    Land of boats and Volcanoes
    Pronouns
    he/him/his
    Posts
    1,534

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by BiscuitMan4Ever View Post
    I'm having trouble switching v with w and w with v. I tried simple replaces for both of them and v would become w but w wouldn't change to v.
    You need a transitional character. The fastest set I could come up with (without losing capitalisation) is:

    Regexp: v
    Replace: ѽ

    Regexp: w
    Replace: v

    Regexp: ѽ
    Replace: w

    Regexp: V
    Replace: ѽ

    Regexp: W
    Replace: V

    Regexp: ѽ
    Replace: W

    e: in case you can't tell, I always use a pumpkin for transitional characters.
    Last edited by trulyElse; 06-25-2012 at 12:41 AM. Reason: misuse of a word
    Alternatively,
    > Shit: Happen.

  13. #363

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by cardiacAtrophy View Post
    regexp: ^(/w+[^.?!])$
    replace: [/1]

    regexp: ^K(/w+)([.?!])$
    replace: [\2][\1][\2]

    That should do it.
    I tried and checked this a couple of times, but nothing's really happening.

  14. #364
    His Honorable Tyranny cardiacAtrophy's Avatar
    Join Date
    Dec 2011
    Location
    Land of Lack and Struggle
    Pronouns
    he/him/his
    Posts
    1,092

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by Millidred View Post
    I tried and checked this a couple of times, but nothing's really happening.
    I messed up the first quirk. The [/1] should be a [\1].

    Fixed the original post.

  15. #365
    Wiggler puppetCrab's Avatar
    Join Date
    Jun 2012
    Location
    The Moon
    Posts
    1

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Has any asked how to do uu's quirk yet? I mean, I know how to do UU/Calliope's... but when it comes to using uu's I'm stuck ;-;
    "My quirk is like this so I (,an pin(,h you! See? *pin(,h pin(,h*"

    Homestuck is slowly taking over my life. And I'm ok with this.

  16. #366
    trulyElse's Avatar
    Join Date
    Jan 2012
    Location
    Land of boats and Volcanoes
    Pronouns
    he/him/his
    Posts
    1,534

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by puppetCrab View Post
    Has any asked how to do uu's quirk yet? I mean, I know how to do UU/Calliope's... but when it comes to using uu's I'm stuck ;-;
    Regexp: (.+)
    Replace: upper(\1)

    Replace: U
    With: u
    Last edited by trulyElse; 06-29-2012 at 11:25 PM.
    Alternatively,
    > Shit: Happen.

  17. #367
    His Honorable Tyranny cardiacAtrophy's Avatar
    Join Date
    Dec 2011
    Location
    Land of Lack and Struggle
    Pronouns
    he/him/his
    Posts
    1,092

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Or, to condense it to a single quirk;

    regexp: ([^uU])
    replace: upper(\1)

  18. #368
    Game Guru & Quirk Queller XP105's Avatar
    Join Date
    Feb 2012
    Location
    Land of Kilts and Bagpipes
    Posts
    248

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Or even better:

    regexp: ([^uU]+)
    replace: upper(\1)

    EDIT: Also, 100th post!!!
    Last edited by XP105; 06-26-2012 at 08:06 PM.

  19. #369
    trulyElse's Avatar
    Join Date
    Jan 2012
    Location
    Land of boats and Volcanoes
    Pronouns
    he/him/his
    Posts
    1,534

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by cardiacAtrophy View Post
    Or, to condense it to a single quirk;

    regexp: ([^uU])
    replace: upper(\1)
    Quote Originally Posted by XP105 View Post
    Or even better:

    regexp: ([^uU]+)
    replace: upper(\1)
    You realise that they weren't looking for Calliope's quirk, right?

    e: never mind, I missed the Carat.
    Last edited by trulyElse; 06-26-2012 at 08:42 PM.
    Alternatively,
    > Shit: Happen.

  20. #370
    Game Guru & Quirk Queller XP105's Avatar
    Join Date
    Feb 2012
    Location
    Land of Kilts and Bagpipes
    Posts
    248

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Yes. [^Uu] means everything that isn't u. So everything that's not u is capitalised.

  21. #371
    His Honorable Tyranny cardiacAtrophy's Avatar
    Join Date
    Dec 2011
    Location
    Land of Lack and Struggle
    Pronouns
    he/him/his
    Posts
    1,092

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by trulyElse View Post
    You realise that they weren't looking for Calliope's quirk, right?

    e: never mind, I missed the Carat.

  22. #372
    trulyElse's Avatar
    Join Date
    Jan 2012
    Location
    Land of boats and Volcanoes
    Pronouns
    he/him/his
    Posts
    1,534

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Although, My version of the quirk still addresses the event of a capital U.
    Alternatively,
    > Shit: Happen.

  23. #373
    His Honorable Tyranny cardiacAtrophy's Avatar
    Join Date
    Dec 2011
    Location
    Land of Lack and Struggle
    Pronouns
    he/him/his
    Posts
    1,092

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    True.

  24. #374

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by cardiacAtrophy View Post
    We can't figure out the problem simply based on what you tell us, we need to see the code. Please copy and paste it in here, along with your quirks.
    Apologies. I am new to this.

    import math
    gradient = ('#333333', '#005C56', '#029E94', '#00BDB1')
    def gradientmadness(text):
    leng = len(text)
    output = ''
    if leng < 4:
    for i in range(0, leng):
    output += '<c=#%s>' % gradient[i]
    for i in range(0, leng):
    output += text[i] + '</c>'
    else:
    output += '<c=#'
    output += '><c=#'.join(gradient)
    output += '>'
    size = int(math.ceil(leng / 4.0))
    for i in range(1, 5):
    output += text[(i-1)*size:i*size] + '</c>'
    return output
    gradientmadness.command="fsgradient"
    #usage regex replace ^(.*)$ -> fsgradient(\1)

  25. #375

    Re: Pesterchum Quirks thread: Request and post your quirks here!

    Quote Originally Posted by maybeitsavirus View Post
    Apologies. I am new to this.

    import math
    gradient = ('#333333', '#005C56', '#029E94', '#00BDB1')
    def gradientmadness(text):
    leng = len(text)
    output = ''
    if leng < 4:
    for i in range(0, leng):
    output += '<c=#%s>' % gradient[i]
    for i in range(0, leng):
    output += text[i] + '</c>'
    else:
    output += '<c=#'
    output += '><c=#'.join(gradient)
    output += '>'
    size = int(math.ceil(leng / 4.0))
    for i in range(1, 5):
    output += text[(i-1)*size:i*size] + '</c>'
    return output
    gradientmadness.command="fsgradient"
    #usage regex replace ^(.*)$ -> fsgradient(\1)
    Python indentation matters to the program.
    Forums typically do not display what they deem unnecessary white space .
    Which breaks the python source
    It's still in the post source though.
    What you have to do is put it in code tags,
    Code:
    like this:[ code ] the code [ / code ]
    I would read through it but I am on a phone.

Page 15 of 60 FirstFirst ... 51213141516171825 ... LastLast

Posting Permissions

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