What I am wanting to do is if a username is on a specific channel it says a specific message. This is what I have so far. The issue with this is if they type in "points?" it doesn't show anything. I want to make it so that if a username on #aguilar612 types in points? that it displays that specific message below.
on *:TEXT:points?:#: {
if ($nick !ison #aguilar612) {
msg $chan Points are used for giveaways you earn them every 5 minutes. You can check your points by typing !points2 :) }
}
else {
msg $chan This command is not available in your channel
}
on *:TEXT:points?:#: {
if ($nick !ison #ewansmith05) {
msg $chan Points are used for giveaways you earn them every 5 minutes. You can check your points by typing !points1 :)
}
else {
msg $chan This command is not available in your channel
}
on *:TEXT:points?:#: {
if ($nick !ison #omg_its_jayj){
msg $chan Points are used for giveaways you earn them every 5 minutes. You can check your points by typing !points3 :)
}
}
else {
msg $chan This command is not available in your channel
}
So I think the code means if any username is on #aguilar612 and that command is typed, it displays that message. Am I wrong about this? I hope I have been less vague with this post, I apologize if I haven't.