Hack Talk

By supergeo on Aug 15, 2005

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
}

Comments

Sign in to comment.
ryu.dragonryder   -  Feb 08, 2006

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
}

 Respond  
Foamy   -  Dec 22, 2005

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\".

 Respond  
|CE|Genji   -  Sep 07, 2005

Er never mind I fixed it my other line and messed it up

 Respond  
|CE|Genji   -  Sep 07, 2005

When I use it it says #Channelname (Like helpdesk) Unknown command

 Respond  
supergeo   -  Aug 17, 2005

It was designed for channels, but I changed it.

 Respond  
QuickStep   -  Aug 16, 2005

have you actually tested it? $chan returns $null in an alias, you must use $active like yoinx did

 Respond  
supergeo   -  Aug 16, 2005

Well, it\'s easier for me to edit the way I did it.

 Respond  
xDaeMoN   -  Aug 16, 2005

It would be \"neater\" if you only have one $replace since it can handle multiple words to replace.

 Respond  
supergeo   -  Aug 16, 2005

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...

 Respond  
Yoinx   -  Aug 16, 2005

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,+)
}
}

 Respond  
Noutrious   -  Aug 16, 2005

Very small bugs, but script is good!

 Respond  
Yoinx   -  Aug 15, 2005

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.

 Respond  
xDaeMoN   -  Aug 15, 2005

You could shorten the code by using only one $replace. Variables are not needed too. Also you might want to use $active so it could be used in a PM.

 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.