mily is [email]java@210.245.19.18[/email] * Lisa love you mily on #loby mily has been idle 1sec, signed on Thu Mar 20 19:22:25 mily End of /WHOIS list.
Look at the end of the first line had " Lisa love you"
i would like to check every one who join in to #loby with the end of first line included the word Lisa, then auto message "i'm here honey'
is that any way to do with on *:join:*: if (lisa isin $fulladdress) { msg $nick i'm here honey }
but it not work because can't use $fulladdress for that .
On *:JOIN:#Loby:{ .whois $nick | .enable #lisa }
#lisa off
raw 311:*:{
if (lisa isin $gettok($1-,2,42)) { msg $nick I'm here honey! | halt }
else { halt }
}
raw 319:*:{ halt }
raw 312:*:{ halt }
raw 317:*:{ halt }
raw 318:*:{ .disable #lisa | halt }
#lisa end
This basically whoises the user without you knowing (hence all the halts) and looks for the word lisa in their 'realname' field. This code use the RAWs from ConferenceRoom 2.0.2 so if you're on a different network, you might need to change those depending on what custom fields the server admins implemented.
On *:JOIN:#Loby:{ .whois $nick | .enable #lisa }
#lisa off
raw 311:*:{
if (lisa isin $gettok($1-,2,42)) { msg $nick I'm here honey! | echo -a $nick is Lisa with ID & IP $nick $3 | halt }
else { halt }}
raw 319:*:{ halt }
raw 312:*:{ halt }
raw 317:*:{ halt }
raw 318:*:{ .disable #lisa | halt }
#lisa end