bind onjoin question

Old posts that have not been replied to for several years.
Locked
E
Errtu

Post by Errtu »

I want to send an onjoin msg to somebody who has a nickname Guest1234 etc. Do i do this like this:

bind join - "* Guest*!*" sendmsg
proc sendmsg etc etc etc

or is there a better way?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes, but the bind should be

Code: Select all

bind join - "% Guest*!*@*.*" sendmsg
proc sendmsg {nick uh hand chan} {
  blah blah
  blah
}
The mask used in the join bind, has a channel before the hostmask. EG: "#channel nick!ident@host.name"
Locked