mIRC Home    About    Download    Register    News    Help

Print Thread
#272582 20/04/24 04:05 PM
Joined: May 2022
Posts: 65
F
Fernet Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: May 2022
Posts: 65
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

Fernet #272584 21/04/24 08:35 AM
Joined: May 2022
Posts: 65
F
Fernet Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: May 2022
Posts: 65
Originally Posted by Fernet
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 }
}

Fernet #272586 23/04/24 06:05 PM
Joined: Feb 2011
Posts: 451
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 451
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 }
  } 
}

KindOne #272591 25/04/24 12:33 PM
Joined: May 2022
Posts: 65
F
Fernet Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: May 2022
Posts: 65
It perfecty works sir. Really thanks a lot and all my best for You wink
P.S.: I stil didn't get about raw XXX rule... I need to study more
Thanks again


Link Copied to Clipboard