This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

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