1337

By Cafaro on Dec 11, 2005

Just paste whole script in ur remote (Alt + R). And type: ''/1337 on''. (Type: ''/1337 off'' to stop the script)
And let the magic begin ;)

alias 1337 {
  if ($1 = on) {
  set %1337 on | echo -a The 1337 script is now on-line! | halt }
  if ($1 = off) {
  set %1337 off | echo -a The 1337 script is now off-line! | halt }
  else {
  echo -a Error! You have to type ''On'' or ''Off''! }
}

on *:input:*:{ if (/* iswm $1-) { $1- | halt }
  if (%1337 = on) {
  msg $active $replace($replace($replace($replace($replace($1-,e,3),a,4),o,0),i,1),t,7) | halt }
}

Comments

Sign in to comment.
XpLoiTeR   -  Jan 11, 2006

i agree with rapid...the shorter the code is ... the better and faster it will be...but there is a point...when someone is deeply thinking and trying to write a good snippet his first purpose is how to make it work with no bugs....short or long wont matter....both way aint bad

 Respond  
tribe   -  Dec 13, 2005

Whats the point ?

 Respond  
nark0tics   -  Dec 12, 2005

to bad i didnt understand that.

 Respond  
Noutrious   -  Dec 12, 2005

Oh meen..
Theres 128 ways to code one addon so it`s only the best to know the way who will be the fastest, goodest and easier to us, mIRC :P

 Respond  
Mpdreamz   -  Dec 12, 2005

sorry scanned over it fast $xor(%leet 0,1) is cleaner indeed

 Respond  
Mpdreamz   -  Dec 12, 2005

yeah but %leet has to excist for that
so i did
%leet = $xor($iif(%leet,$v1,0),1)

to set it to 0 if it doesnt excist or else whatever %leet is :p

 Respond  
Sigh_   -  Dec 11, 2005

Perhaps you mean $xor(%leet,1) which turns 0 to 1, 1 to 0. In case %leet = $null you can use $xor(%leet 0,1) to turn $null and 0 to 1, and again 1 to 0

 Respond  
Mpdreamz   -  Dec 11, 2005

Your right, why do i ? :p

 Respond  
QuickStep   -  Dec 11, 2005

why use the exclusive or ($xor) if you can just use another $iif statement:
%leet = $iif(%leet,0,1)

 Respond  
Mpdreamz   -  Dec 11, 2005

$replace($replace($replace($replace($replace($1-,e,3),a,4),o,0),i,1),t,7)
could all be put into one $replace and theres way more to replace then just e a o i and t

Also $xor is a nicer way to toggle on or off so typing /1337 will turn it off if its on and on if its off
alias 1337 {
%leet = $xor($iif(%leet,$v1,0),1)
echo -a Leet talker is now $iif(%leet,on,off)
}

you can then do just this in the input
if (%1337) { msg $active $replace($1-,e,3,a,4,o,0,i,1,t,7) | halt }

 Respond  
nark0tics   -  Dec 11, 2005

fine work.

 Respond  
Sasuke   -  Dec 11, 2005

Oh never mind, this works, excellent!

 Respond  
Sasuke   -  Dec 11, 2005

... Test it, and what \'zactly is it supposeda do?

 Respond  
Cafaro   -  Dec 11, 2005

Haven\'t tested it, but it should work...

 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.