Hello. I'd like to have an addon that give a temporary voice (+v) on join in a channel (i.e.: #test), but only if that nick is registered and identified on the net (MindForge). Thanks
Hello. I'd like to have an addon that give a temporary voice (+v) on join in a channel (i.e.: #test), but only if that nick is registered and identified on the net (MindForge). Thanks
I mean something like:
Code
on *:JOIN:#Alessandra: {
if (MindUser* iswm $nick) {return}
if ($nick == NOT REGISTERED or IDENTIFIED) { return }
if ($nick == REGISTERED or IDENTIFIED) { mode # +v $nick }
}
It looks like you would need to /whois the person when they join the channel in order to get their login status.
Could try this script:
Code
on *:join:#Alessandra:{
if ($network == MindForge) {
if (MindUser* iswm $nick) { return }
whois $nick
}
}
; User is logged in, +v them.
; :Unixverse.MindForge.org 330 TestNick KindOne KindOne :is logged in as
raw 330:*:{
if ($network == MindForge) {
if ($2 ison #Alessandra) { mode #Alessandra +v $2 }
}
}