mIRC Home    About    Download    Register    News    Help

Print Thread
#47608 06/09/03 02:49 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
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
    }
  }
}


_________
may death strike you.
#47609 06/09/03 02:51 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
change: if ($1 != /*) to if ($left($1,1) != /)


new username: tidy_trax
#47610 06/09/03 02:52 PM
Joined: Aug 2003
Posts: 148
K
KoRn18 Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Aug 2003
Posts: 148
also how can i use leet when i /msg and /me and /notice people?


_________
may death strike you.
#47611 06/09/03 03:11 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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 
  }
}


new username: tidy_trax

Link Copied to Clipboard