mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2011
Posts: 417
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 417
CHANTYPES= with "+" prevent clicking +#channels in the /whois output.


From my testing this issue started in 7.23.



Code
; 1. Connect to IRCnet (or possibly any network with "+" in CHANTYPES=)
; 2. /test1
; 4. Hover mouse over +#example from /whois output, cannot click.
; 5. /test2
; 6. Hover mouse over +#example from /whois output, can click.


; Store 005 without "+" for /test2. 
raw 005:*:{ 
  if (CHANTYPES=#&!+ isin $1-) { 
    var %x $replace($1-,CHANTYPES=#&!+,CHANTYPES=#&!)
    set %fake_005 %x
  }
}

alias test1 { 
  join -n #example
}

alias test2 { 
  parseline -itq : $+ $server 005 %fake_005
}

on *:join:#example:{
  if ($nick == $me) { 
    mode $chan +v $me
    mode $chan -o $me
  }  
}

on *:deop:#example:{
  if ($nick == $me) { 
    whois $me 
  }
}



[Linked Image from i.imgur.com]

Joined: Dec 2002
Posts: 5,170
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,170
Thanks for your bug report. This is the intended behaviour. In cases where a network uses the same prefixes for PREFIX and CHANTYPES, there will always be an issue determining whether a word begins with a nick prefix or a channel prefix. This issue was indeed discussed the last time the hotlink feature was tweaked to make it work in as consistent a way as possible given that it is parsing plain, non-delimited text with conflicting prefixes.


Link Copied to Clipboard