Thank you for your reply.
The bot is in both channels, ie #channel1 and #channel2.
Checking for a specific user in #channel2, so trigger will only look for the user in #channel2. #channel1 is the broadcast channel so to speak.
Using your code I got this:
on *:text:-check:#channel1:{
if fatey ison #channel2 {
.msg $chan fatey is in #channel2
}
else {
.msg $chan fatey is gone
}
}
Now, to extend on this: If supposing i wanted to set a variable if a user is present instead, do I do this?
on *:text:-check:#channel1:{
if fatey ison #channel2 {
set %check = yes
}
else {
set %check = no
}
}
Thanks in advance.