mIRC Home    About    Download    Register    News    Help

Print Thread
#34512 06/07/03 08:53 PM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
I am having problem with this nick completor, Its just a small one.. nothing fancy, so heres the problem when i type someones full nickname it returns as

(Sun 3.50p) (illusi0n) JaCkAsS
(Sun 3.50p) <illusi0n> -(JaCkAsS)


Here is the code:
Code:
  on *:input:#: {
  if (/ != $left($1,1)) &amp;&amp; ($1 ison #) { say 4-( $+ $1 $+ 4)- $2- | haltdef }
}

#34513 06/07/03 10:02 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
If it's on *:INPUT:#: {
Why don't you use msg $chan?
Code:
on *:INPUT:#: {
  if ( / != $left($1,1)) &amp;&amp; ($1 ison $chan) { msg $chan -( $+ $1 $+ )- $2-
    halt 
  }
}

#34514 06/07/03 10:21 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
why using /msg # if /say is shorter??

the problem is probably becuz u have another ON INPUT event that using /msg | /say too and u see it twice, combine them together. if u don't know how show us your code.

#34515 06/07/03 10:50 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Either one would do. Personally I'd use msg $chan.


Link Copied to Clipboard