mIRC Homepage
Posted By: KoRn18 leet - 06/09/03 02:49 PM
i have a leet speaker but it messes up when i use commands
it sends this to the channel
//3ch0 -4 $up71m3(5y573m,1)
instead of executing this:
//echo -a $uptime(system,1)


Code:
on *:input:*: {
  if (%leet == on) {
    if ($1 != /*) {
      msg $active $replace($1-,e,3,i,1,t,7,o,0,s,5,a,4)
      haltdef
    }
  }
}
Posted By: pheonix Re: leet - 06/09/03 02:51 PM
change: if ($1 != /*) to if ($left($1,1) != /)
Posted By: KoRn18 Re: leet - 06/09/03 02:52 PM
also how can i use leet when i /msg and /me and /notice people?
Posted By: pheonix Re: leet - 06/09/03 03:11 PM
Code:
on *:input:*: {  
  if (%leet == on) {    
    if (left($1,1) == /) && ($1 != /notice) && ($1 != /me) { return $1- }
    elseif ($1 == /me) { describe # $replace($2-,e,3,i,1,t,7,o,0,s,5,a,4) }
    elseif ($1 == /notice) { notice $2 $replace($3-,e,3,i,1,t,7,o,0,s,5,a,4) }
    else {
      msg $active $replace($1-,e,3,i,1,t,7,o,0,s,5,a,4)         
    }  
    haltdef 
  }
}
© mIRC Discussion Forums