Fun Talkers
mIRC Code
+ 1 likes
Please Register to submit score.
| Average Score | 7.3 (of 3 scores) |
| Date Added | Jan 23, 2006 |
| Last Updated | Jan 23, 2006 |
Introduction
[11:36] <~Edge> testing, one two three.
[11:36] <~Edge> CaPS/BoLD/uNDeRLiNe/CoLoR TeSTiNG
[11:36] <~Edge> å§©ïï tê§tïñG
[11:36] <~Edge> ŧÇÎβ TʧtÎÑg
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 11:56 am
Posted on Jan 23, 2006 11:56 am
very sloppy, could be done with way less then what u have
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 11:58 am
Posted on Jan 23, 2006 11:58 am
Sorry, but it's my scripting style and the way I script.
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 12:10 pm
Posted on Jan 23, 2006 12:10 pm
You can have many words to be replaced with just 1 $replace & that would lessen up your code.
See /help $replace
See /help $replace
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 12:17 pm
Posted on Jan 23, 2006 12:17 pm
also, var helps that way u don't have to unset so many variables ;)
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 3:10 pm
Posted on Jan 23, 2006 3:10 pm
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
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
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 3:25 pm
Posted on Jan 23, 2006 3:25 pm
Use $replacecs if you want case sensitivity.
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 3:44 pm
Posted on Jan 23, 2006 3:44 pm
wwo, I really shoulda seperated those into multiple lines
:s
:s
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 5:25 pm
Posted on Jan 23, 2006 5:25 pm
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
..u sould lik get the Asc number for all eff them and put it in ur $chr(number) ..ye
mIRC Snippet:
Fun Talkers
Posted on Jan 23, 2006 9:09 pm
Posted on Jan 23, 2006 9:09 pm
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
$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




