Fun Talkers

By Cross on Jan 23, 2006

Place the first part into your alias then the second into your popups section(anyone, channel,query, status, whichever you choose).





[11:36] <~Edge> testing, one two three.

[11:36] <~Edge> CaPS/BoLD/uNDeRLiNe/CoLoR TeSTiNG

[11:36] <~Edge> 姩 tG

[11:36] <~Edge> ŧβ Tʧtg

Comments

Sign in to comment.
Abbas   -  Oct 30, 2007

nice work

 Respond  
Gex   -  Jan 23, 2006

u dont need to use allllllll of this line...simply u can replace all the characters in one line of $replace....like this
$replace(string,s,S,t,T,r,R,i,I,n,N,g,G) that will give u STRING ... so u dnt have to use all these

 Respond  
gates   -  Jan 23, 2006

umm u sould really use the Chr of everything..

..u sould lik get the Asc number for all eff them and put it in ur $chr(number) ..ye

 Respond  
RoninWarrior   -  Jan 23, 2006

lol @yonix

 Respond  
Yoinx   -  Jan 23, 2006

wwo, I really shoulda seperated those into multiple lines

:s

 Respond  
FiberOPtics   -  Jan 23, 2006

Use $replacecs if you want case sensitivity.

 Respond  
Yoinx   -  Jan 23, 2006

now, Im not trying to rip on anything, I just want to point out two seperate ways to do this (my regex example might not be the best way to do it though.)

alias ra say $replace($1-,a,2a,b,3b,c,4c,d,6d,e,12e,f,13f,g,14g,h,15h,i,2i,j,3j,k,4k,l,6l,m,12m,n,13n,o,14o,p,2p,q,3q,r,4r,s,6s,t,12t,u,13u,v,14v,w,15w,x,2x,y,3y,z,4z)

alias ra {
.echo -q $regsub($1-,/(.)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)/ig,0\11\22\33\44\55\66\77\88\99\1010\1110\1111\1212\1313\1414\1515\16,%text)
say %text
}

personally, Id combine them all into the single replace method for each alias... just makes it a little faster, since you\'re only making one call to $replace, instead of 26. However, the $regex method, wont change the case of characters, where the replace would replace K with k

 Respond  
sean   -  Jan 23, 2006

also, var helps that way u don\'t have to unset so many variables ;)

 Respond  
xDaeMoN   -  Jan 23, 2006

*words/characters

 Respond  
xDaeMoN   -  Jan 23, 2006

You can have many words to be replaced with just 1 $replace & that would lessen up your code.

See /help $replace

 Respond  
sean   -  Jan 23, 2006

very sloppy, could be done with way less then what u have

 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.