Author Topic: Userscript that changes all text to "chicken"  (Read 9203 times)

0 Members and 2 Guests are viewing this topic.

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Userscript that changes all text to "chicken"
« Reply #15 on: July 11, 2013, 11:01:38 pm »
What about making one that changes most words to 'Badgers' with the occasional 'Mushroom' and eventually a super rare 'Snaaaake'?!

:).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Userscript that changes all text to "chicken"
« Reply #16 on: July 11, 2013, 11:40:47 pm »
What's with the chic, chick and ch here and there? ???

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Userscript that changes all text to "chicken"
« Reply #17 on: July 12, 2013, 02:57:52 am »
I guess that the lenght of the string must be the same at the beginning and at the end so "HOME" becomes "CHIC" (both with 4 letters) and same for "NEWS", but "DOWNLOADS" is too long for "chicken" so it actually tries to add another "chicken" but this time it is too long and it has to be shortened as "chicken c", etc...
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Userscript that changes all text to "chicken"
« Reply #18 on: July 12, 2013, 06:03:41 am »
nomnom chicken...
I kinda like the "glazed" look on some of the edges of the omnom box and forum posts:
Spoiler For nomnom chicken:

Stats page where the most stretched chicken takes the honours... :P
Spoiler For nomnom strectched chickens:


« Last Edit: July 12, 2013, 06:16:17 am by Jonius7 »
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Userscript that changes all text to "chicken"
« Reply #19 on: July 12, 2013, 09:51:43 am »
I guess that the lenght of the string must be the same at the beginning and at the end so "HOME" becomes "CHIC" (both with 4 letters) and same for "NEWS", but "DOWNLOADS" is too long for "chicken" so it actually tries to add another "chicken" but this time it is too long and it has to be shortened as "chicken c", etc...
Exactly
What about making one that changes most words to 'Badgers' with the occasional 'Mushroom' and eventually a super rare 'Snaaaake'?!

:).
You could easily modify the script to do that :)
/e

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Userscript that changes all text to "chicken"
« Reply #20 on: July 12, 2013, 10:22:04 am »
It'd prolly be better if you changed the whole words to chicken intead of sequentially replacing chars.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Userscript that changes all text to "chicken"
« Reply #21 on: July 12, 2013, 12:42:36 pm »
It'd prolly be better if you changed the whole words to chicken intead of sequentially replacing chars.
I'm not actually sequentially replacing characters. I'm adding "chicken " to a string until it matches or is greater then the length of the original and then I'm trimming it to the same length. I have to do it that way otherwise there will be display issues with things that have to be a certain length.
/e

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Userscript that changes all text to "chicken"
« Reply #22 on: July 12, 2013, 12:53:22 pm »
Oh ok.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Userscript that changes all text to "chicken"
« Reply #23 on: July 12, 2013, 04:18:31 pm »
What about making one that changes most words to 'Badgers' with the occasional 'Mushroom' and eventually a super rare 'Snaaaake'?!

:).
You should take a peek at this: http://userscripts.org/scripts/show/173148
It's pretty close to the same things as chicken, it just allows for more words etc :)
/e

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Userscript that changes all text to "chicken"
« Reply #24 on: July 15, 2013, 07:21:17 pm »
It had to be done.

Go To Extensions then drop this file on the page.

Based of what Eeems made.
* annoyingcalc lost the game.

Warning, if you are allergic to excessive losing THE GAME, don't click it!
« Last Edit: July 15, 2013, 07:24:25 pm by annoyingcalc »
This used to contain a signature.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Userscript that changes all text to "chicken"
« Reply #25 on: July 16, 2013, 09:51:08 am »
Nice one !
* Streetwalker lost
* Streetwalker got rickrolled pretty badly
I wanted to do that in the first place :P