Leet Encode/Decode

By StaticX__ on Jul 06, 2008

It translates Leet to normal talking and normal talking to Leet and it's so simple.
enjoy :)

;=========Leet Encoder/Decoder=========
;=========By StaticX=========
;=========Type /leet to open the translator=========
;=========Have Fun :)=========

dialog leetd {
  title "Leet"
  size -1 -1 263 190
  option pixels
  edit "", 1, 17 18 224 20, autohs
  edit "", 2, 17 38 224 20, autohs read
  edit "", 3, 17 112 224 20, autohs
  edit "", 4, 17 132 224 20, autohs read
  box "Leet Decode", 5, 9 95 238 72
  box "Leet Encode", 6, 10 1 238 72
}

on *:DIALOG:leetd:edit:*:{ 
  if ($did == 1) {
    .did -ra leetd 2 $replace($did(1).text,a,4,e,3,i,1,t,7,o,0,s,5) 
  }
  if ($did == 3) {
    .did -ra leetd 4 $replace($did(3).text,4,a,3,e,1,i,7,t,0,o,5,s)
  }
}

alias leet { dialog -m leetd leetd }

Comments

Sign in to comment.
Jonesy44   -  Jul 07, 2008

-o is for listboxes or combos, not plaintext edit boxes :]

Khaled did some updates on version 6 a while back edit those i thinkk ..

 Respond  
StaticX__   -  Jul 07, 2008

Fixed

  1. removed vars %did1 and %did3
  2. $did(1) and $did(3) changed to $did(1).text and $did(3).text
  3. removed \"center\" from edit boxes 2 and 4
  4. -o changed to -ra

Thanks

 Respond  
EL   -  Jul 06, 2008

ROFL i like that DP ;p

 Respond  
napa182   -  Jul 06, 2008

<----- For Joo Dan

 Respond  
EL   -  Jul 06, 2008

ROFL STEVEN...before i go any further...are we spamin this comment page..cause i dont wanna get in trouble by the hawkee PO PO now...oh hell who am i kidding..
[size=24]
[b]
FU2 STEVE :P
[/b]
[/size]

 Respond  
Jamiie   -  Jul 06, 2008

LOL

 Respond  
napa182   -  Jul 06, 2008

FU both =P

 Respond  
EL   -  Jul 06, 2008

ROFL awesome XD

 Respond  
Jonesy44   -  Jul 06, 2008

\"Submission under review

Your entry is under review by editors.\"

xD

 Respond  
EL   -  Jul 06, 2008

ROFL

 Respond  
Jonesy44   -  Jul 06, 2008

Yes mate, along with doing a napa .. lol.. Should add that to urban dictionary :D

 Respond  
EL   -  Jul 06, 2008

-RA FTW!

 Respond  
Jonesy44   -  Jul 06, 2008

Yeah but there is no lines here.. it\'s plaintext .. -RA!

 Respond  
EL   -  Jul 06, 2008

-o overwrite Nth line with text.ROFL@do a napa here! ;x

 Respond  
Jonesy44   -  Jul 06, 2008

Could actually have (to do a napa here :D)

dialog leetd {
  title \"Leet\"
  size -1 -1 263 190
  option pixels
  edit \"\", 1, 17 18 224 20, autohs
  edit \"\", 2, 17 38 224 20, center autohs read
  edit \"\", 3, 17 112 224 20, autohs
  edit \"\", 4, 17 132 224 20, center autohs read
  box \"Leet Decode\", 5, 9 95 238 72
  box \"Leet Encode\", 6, 10 1 238 72
}
on *:DIALOG:leetd:edit:*:{
  did -ra leetd $iif($did == 1,2,4) $iif($did == 1,$replace($did(1).text,a,4,e,3,l,1,t,7,o,0,s,5),$replace($did(3).text,4,a,3,e,1,l,7,t,0,o,5,s))
}
alias leet { dialog -m leetd leetd }
 Respond  
Jonesy44   -  Jul 06, 2008

hehe, true.

No idea what -o is either.. ?

 Respond  
EL   -  Jul 06, 2008

Rofl dont think this person can do DCX based on the abilities shown here.Could be wrong tho.`-.-´

 Respond  
Jonesy44   -  Jul 06, 2008

%did1 sounds like a DCX kinda thing ..

 Respond  
EL   -  Jul 06, 2008

Yeah agree with jonesy44 you have to change it casue the vars arent even defined as anything.Also should fix your dialog it could be a bit smaller and maybe add a send to channel button to out put what you encoded an decoded for others to see.`-.-´

 Respond  
Jonesy44   -  Jul 06, 2008

Doesn\'t work .. this does though ..

dialog leetd {
  title \"Leet\"
  size -1 -1 263 190
  option pixels
  edit \"\", 1, 17 18 224 20, autohs
  edit \"\", 2, 17 38 224 20, center autohs read
  edit \"\", 3, 17 112 224 20, autohs
  edit \"\", 4, 17 132 224 20, center autohs read
  box \"Leet Decode\", 5, 9 95 238 72
  box \"Leet Encode\", 6, 10 1 238 72
}
on *:DIALOG:leetd:edit:*:{ 
  if ($did == 1) {
    did -ra leetd 2 $replace($did(1).text,a,4,e,3,l,1,t,7,o,0,s,5) 
  }
  if ($did == 3) {
    did -ra leetd 4 $replace($did(3).text,4,a,3,e,1,l,7,t,0,o,5,s)
  }
}
alias leet { dialog -m leetd leetd }
 Respond  
StaticX__   -  Jul 06, 2008

omg..
you just type a word in the first or the third edit Box and it translates it in the second or the fourth edit Box..

 Respond  
Jamiie   -  Jul 06, 2008

Where\'s the \"translate\" button? ._.

 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.