mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
i need irc code
me:this person are you there?
bot:this person is here.
or
bot:this person is not here.

Joined: Jun 2015
Posts: 84
F
Babel fish
Offline
Babel fish
F
Joined: Jun 2015
Posts: 84
It's possible, by using $fline and if you don't have the CAP requests for Twitch then you can call the API for a chatters list to see.

Note: If I'm incorrect on the $fline part, please let me know as I was reading about it a little on the mirc/scriptbox site.


[Personal Note]
I don't recommend it being used to call out non-active chatters (lurkers) as calling out lurkers on Twitch is rude to those who want to just watch and not talk.

Joined: Oct 2015
Posts: 112
B
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2015
Posts: 112
Code:
ON $*:TEXT:/^\w+ are you there\?$/iS:#: $IIF($1 ison $chan, MSG $chan $1 is here., MSG $chan $1 is not here.)

The above code works if you type in exactly as in your example.
This assumes that you have userlists enabled. Also, viewerlists can be a little... weird... it can take up to a minute for JOINS to show up in Twitch chat, and occasionally some names will randomly PART and then REJOIN within seconds.

Having said that, I second Fonic_Artes comment about it being rude to call out lurkers by name. Just a personal opinion, but it's a common one that you'll see on Twitch.

Last edited by Blas; 27/01/16 07:25 PM.
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
i need this
viewer=x3pos is here?
bot=yes.x3pos is here.
viewers=admin is here?
viewers=random is here?
viewers=all is here?
viewers=xxx is here?
i want to only my name's command.

this code working all names
Code:
ON $*:TEXT:/^\w+ are you there\?$/iS:#: $IIF($1 ison $chan, MSG $chan $1 is here., MSG $chan $1 is not here.)

Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
someone help?

Joined: Oct 2015
Posts: 112
B
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2015
Posts: 112
I'm not sure what you're asking exactly. If I understand correctly, you only want people to be able to ask if YOU are in the channel? Maybe try this:

Code:
ON $*:TEXT:/\s?x3pos\s.*(t?here)\?$/iS:#: MSG $chan x3pos is $IIF(x3pos ison $chan, here., not here.)


This should cover queries such as:
is x3pos in here?
x3pos are you there?
etc...

Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
Originally Posted By: Blas
I'm not sure what you're asking exactly. If I understand correctly, you only want people to be able to ask if YOU are in the channel? Maybe try this:

Code:
ON $*:TEXT:/\s?x3pos\s.*(t?here)\?$/iS:#: MSG $chan x3pos is $IIF(x3pos ison $chan, here., not here.)


This should cover queries such as:
is x3pos in here?
x3pos are you there?
etc...


this code is working thank you.can you change for turkish language?
Code:
This should cover queries such as:
x3pos burdami?
x3pos kanaldami?

Last edited by x3pos; 13/03/16 07:29 PM.

Link Copied to Clipboard