Type /hacktalk. Then enter your message. It will translate it to "hacker talk". Could be funny I guess.
alias 1337talk {
set %hackmsg $$?="What would you like to be translated into 1337 talk?"
set %hackmsg $replace(%hackmsg,l,1,M,/\/\,H,|-|,a,4,e,3,the,+eh,s,z,S,Z,A,4,o,0,O,0,t,+,elite,1337,dude,d00d)
msg $active %hackmsg
}
menu * {
1337 Talk: 1337talk
}
you could always update your script using this more comprehensive text in your style format of script.
alias 1337talk {
set %hackmsg $$?=\"What would you like to be translated into 1337 talk?\"
set %hackmsg $replace(%hackmsg,a,@,b,c,,d,e,,f,=,g,9,h,-,i,j,_,k,<,l,7,m,/\/\,n,/,o,,p,q,,r,,s,,t,+,u,_,v,\/,w,/\,x,}{,y,z,2,A,@,B,C,,D,E,,F,=,G,9,H,-,I,J,_,K,<,L,7,M,/\/\,N,/,O,,P,Q,,R,,S,,T,+,U,_,V,\/,W,/\,X,}{,Y,Z,2,elite,1337)
msg $active %hackmsg
}
menu * {
1337 Talk: 1337talk
}
alias 1337talk {
set %hackmsg $$?=\"What would you like to be translated into 1337 talk?\"
set %hackmsg $replace(%hackmsg,l,1,M,/\/\,H,|-|,a,4,e,3,the,+eh,s,z,S,Z,A,4,o,0,O,0,t,+,elite,1337,dude,d00d)
msg $active %hackmsg
}
menu * {
1337 Talk: 1337take
}
It needs to be \"1337talk\" not \"1337take\".
I used more than one $replace because the code was going on to a different line and it\'s easier for me to read if it\'s on one line, so I started another one. Also keeps it neater and more organized. But I\'m going to ask whoever scored it why I only got a 1? It worked perfectly like it was supposed to...
sorry messed up the other one.
alias hacktalk {
if (!$1) {
msg $active $replace($$?=\"What would you like to be translated into hacker talk?\",elite,1337,l,1,M,/\/\,H,|-|,a,4,e,3,the,+eh,s,z,S,Z,A,4,o,0,O,0,t,+)
}
else {
.msg $active $replace($1,elite,1337,l,1,M,/\/\,H,|-|,a,4,e,3,the,+eh,s,z,S,Z,A,4,o,0,O,0,t,+)
}
}
Personally, I\'d do:
alias hacktalk {
if (!$1) {
msg $active $replace($$?=\"What would you like to be translated into hacker talk?\",elite,1337,l,1,M,/\/\,H,|-|,a,4,e,3,the,+eh,s,z,S,Z,A,4,o,0,O,0,t,+)
}
else {
$replace($1,elite,1337,l,1,M,/\/\,H,|-|,a,4,e,3,the,+eh,s,z,S,Z,A,4,o,0,O,0,t,+)
}
}
so you can use /hacktalk your text here, or just do /hacktalk and enter it in the box. If you like the input box.