Rufioh's quirk
|
![]() Reply: #1
|
||||
|
||||
Rufioh's quirk
I'm not sure what it is, but Rufioh's quirk consists of his censored curses, but they won't work in the chats unless the random symbols and numbers around them are removed. Just wondering if that can be fixed c:
|
||||
![]() Reply: #2
|
||||
|
||||
RE: Rufioh's quirk
They work as intended.
The "random numbers and symbols" are regular expressions preventing matches from occurring where they shouldn't. For example: Code: /(^|\s)ass(\W|$)/ --> $1*ss$2 leads to: i don't want to be an ass about it, while at the same time preventing this from being censored i don't want to assign blame to anyone about it, |
||||
(list) | ||||
![]() Reply: #3
|
||||
|
||||
RE: Rufioh's quirk
That is some nifty coding skills
![]() |
||||
(list) | ||||
![]() Reply: #4
|
||||
|
||||
RE: Rufioh's quirk
That makes much more sense now, thanks for explaining it c:
I haven't exactly gotten much experience with the coding so I was unsure of how to work with it |
||||
![]() Reply: #5
|
||||
|
||||
RE: Rufioh's quirk
Here is a basic introduction to regex if you're curious, and you can play around with it in a live sandbox here. It's not that difficult once you get the hang of it and crazy versatile/useful.
Regex on msparp follows normal js syntax; you can use regex instead of simple replacements by enclosing the pattern in /forward slashes/ (the same as here on the forums). |
||||
![]() Reply: #6
|
||||
|
||||
RE: Rufioh's quirk
Coding.... Too complicated Wweh
|
||||
« Next Oldest | Next Newest »
|
User(s) browsing this memo: 1 Guest(s)