mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 21
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 21
how does the code read if person "xyz" in channel # test joint over it
a message to send?

xyz join #test
my script say: hello xyz

and sorry for my english wink

Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
on *:JOIN:#test: /msg $chan Hello $nick


-KingTomato
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
on *:JOIN:#test: {
if $nick == xyz {
msg $chan Hello $nick welcome back to $chan
}
}

the only reason i added to what you had was because they are asking for a spacific person when they join they want it to fire a message ... atleast from what im understanding


D3m0nnet.com
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I think they were referring to "if <some user>" joined channel and using xyz as an example, but only they themselves can tell us. Either way, the answers are in front of them, now all they need to do is chose >:D


-KingTomato
Joined: Jul 2003
Posts: 21
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Jul 2003
Posts: 21
thanx smile

Joined: May 2003
Posts: 21
X
Ameglian cow
Offline
Ameglian cow
X
Joined: May 2003
Posts: 21
on *:JOIN:{
if ($nick = xyz) {
msg # [welcome to $chan xyz!]


-
Xc0n
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
xc0n, not only did you respond after some users already have with a corrrect version, you responded with a version that wont event work... In the future, if you see the question has been answered, please don't click reply. Thanks


-KingTomato

Link Copied to Clipboard