Remove Vowels

By PowerDragon on Dec 22, 2006

This removes vowel letters. Very Simple.

All you have to do is type "/vowels [Insert Text Here]"

It will say: " [YourNick] takes all of the vowel letters out of [inserted text] nick! Without the vowel letters, [inserted text] nick looks like [inserted text without vowels]"
Edit this as much as you want. Just don't edit above the text.

put this in alias

/vowels {
  %vowels = $1-
  %vowels = $remove(%vowels,a)
  %vowels = $remove(%vowels,e)
  %vowels = $remove(%vowels,i)
  %vowels = $remove(%vowels,o)
  %vowels = $remove(%vowels,u)
  me takes all of the vowel letters out of $1's nick! Without the vowel letters, $1's nick looks like %vowels 
  unset %vowels
}

Comments

Sign in to comment.
Jethro   -  Feb 18, 2010

You can use $regsubex to do the same thing efficiently:

vowels {
  var %vowels = $regsubex($1-,/[aeiou]/gS,)
  me takes all of the vowel letters out of $$1-'s nick! Without the vowel letters, $1-'s nick looks like %vowels 
}

Although I think it's better to make it open to all sentences, not just the nick:

vowels {
  var %vowels = $regsubex($1-,/[aeiou]/gS,)
  me takes all of the vowel letters out of the sentence $+(",$$1-,") $&
    Without the vowel letters, it looks like: %vowels 
}
 Respond  
TrueCoppa   -  Feb 18, 2010

I feel a bit like a troll here, but this would've been much easier:

%vowels = $1-
%vowels = $remove(%vowels,a,,e,,i,,o,,u)

Just saves time :P

 Respond  
Marshtomp   -  Dec 23, 2006

Probally useful if you say, \"Put this in your Alias part or Alt + R\" or put /alias on it.

 Respond  
Pariah   -  Dec 22, 2006

It can be shortened considerably by using $remove($1-,a,e,i,o,u) to remove them all at once, and if you must use a var, use the /var command so it\'s local and you don\'t need to worry about unsetting it.

 Respond  
PowerDragon   -  Dec 22, 2006

This is a very simple little script.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.