/leet on = to turn it on
/leet off = to turn it off
Just write something when leet is on. And it will translate:
(/leet on) L33tsp34k enebled.
[23:06:09] <@berend> 17 \/\/0|?|c5 /=1/\3.
(/leet off)L33tsp34k Disabled
[23:06:15] <@berend> It works fine.
(/leet on) L33tsp34k enebled.
(/leet on) L33tsp34k is already enebled.
(/leet off) L33tsp34k Disabled
(/leet off) L33tsp34k is already disabled.
alias leet {
if ($1 == on) {
if (%leet == on) {
echo L33tsp34k is already enebled.
HALT
}
else { set %leet on
echo L33tsp34k enebled.
}
}
if ($1 == off) {
if (%leet == $null) {
echo L33tsp34k is already disabled.
HALT }
else {
unset %leet
echo L33tsp34k Disabled }
}
}
on *:input:*: {
if (%leet == on) {
if (/ isin $1-) { $1- | halt }
haltdef
say $replace($1-,a,4,b,8,c,<,d,>,e,3,f,/=,g,6,h,|-|,i,1,j,1,k,|c,l,|,m,/\/\,n,/\,o,0,p,|*,q,9,r,|?,s,5,t,7,u,|_|,v,\/,w,\/\/,x,><,y,`/,z,-/_)
}
}
i didnt say ALL i said the one i use haha. i know ther are diff forms of leet i said that in a comment up ^^^^there. the one i used is just one form of it although technically could prolly translate most of em. be easier to do so using google translator and a socket script but i dont do socket scripts much @me being a noob with them
ok here ya go lego
Menu Nicklist, {
.l33t
..on: set %l33ttalk on
..off: set %l33ttalk off
.Translation
..transtoengon: .set %tr4nstoeng on
..transtoengoff: .set %tr4nstoeng off
..transtol33ton: .set %transtol33t on
..transtol33toff: .set %transtol33t off
}
on *:Input:#: {
if (%l33ttalk == on) {
msg $active $replace($1-,t,+,a,4,e,3,s,z,i,1,o,0,H,|-|,K,|<,A,@,M,|\/|) | halt
}
}
on ^*:TEXT:*:*:{
if (%transtol33t == on) {
echo $active $nick $replace($1-,t,+,a,4,e,3,s,z,i,1,o,0,H,|-|,K,|<,A,@,M,|\/|)
haltdef
}
elseif (%tr4nstoeng == on) {
echo $active $nick $replace($1-,+,t,4,a,3,e,z,s,1,i,0,o,|-|,h,|<,k,@,A,|\/|,M)
haltdef
}
}
on ^*:ACTION:*:*:{
if (%transtol33t == on) {
echo $active $nick $replace($1-,t,+,a,4,e,3,s,z,i,1,o,0,H,|-|,K,|<,A,@,M,|\/|)
haltdef
}
elseif (%tr4nstoeng == on) {
echo $active $nick $replace($1-,+,t,4,a,3,e,z,s,1,i,0,o,|-|,h,|<,k,@,A,|\/|,M)
haltdef
}
}