Project

General

Profile

Actions

Feature #5383

closed
EE PA

$address is missing for servers in SNOTICE events

Feature #5383: $address is missing for servers in SNOTICE events

Added by eahm eahm about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
08/23/2021
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

Hi, is there a way to make this work on AdiIRC too?

on *:SNOTICE:*/quote PASS*: {
if ($address == irc.znc.in) {
.timerQuotePass 1 0 /quote PASS $$!?*"Password:"
}
}

Thank you.

EE Updated by eahm eahm about 4 years ago Actions #1

  • Tracker changed from Bug to Feature
  • Category set to Scripting
  • Regression deleted (No)

EE Updated by eahm eahm about 4 years ago Actions #2

  • Subject changed from $$!? to Open dialog when irc.znc.in asks for /quote PASS

PA Updated by Per Amundsen about 4 years ago Actions #3

  • Subject changed from Open dialog when irc.znc.in asks for /quote PASS to $address is missing for servers in SNOTICE events
  • Status changed from New to Resolved
  • Assignee set to Per Amundsen

You could just use $nick instead of $address, but sure $address should have a value in this case.

PA Updated by Per Amundsen about 4 years ago Actions #4

  • Status changed from Resolved to Closed

EE Updated by eahm eahm about 4 years ago Actions #5

Don't know how to reply once closed, $nick doesn't work of course, I already tried that.

PA Updated by Per Amundsen about 4 years ago Actions #6

You can reply, it's just a status to auto update my changelogs. $nicks works fine for me, not sure why it wouldn't work for you.

EE Updated by eahm eahm about 4 years ago Actions #7

This is what I changed it to:
on *:SNOTICE:*/quote PASS*: {
if ($nick == irc.znc.in) {
.timerQuotePass 1 0 /quote PASS $$!?*"Password:"
}
}

And this is what I get:

23:23:30 * Password required
23:23:30 -irc.znc.in- *** You need to send your password. Configure your client to send a server password.
23:23:30 -irc.znc.in- *** To connect now, you can use /quote PASS <username>:<password>, or /quote PASS <username>/<network>:<password> to connect to a specific network.
23:23:30 * Sent raw: 'PASS ******'
23:23:31 * Invalid Password

All automatic, I don't see any dialog.

PA Updated by Per Amundsen about 4 years ago Actions #8

Make sure you don't have another script/plugin which performs the /PASS. It could also be from the server password if configured, hard to tell, although the SNOTICE would still be triggered in that case.

EE Updated by eahm eahm about 4 years ago Actions #9

No other script loaded other than the znc selfmsg one, removed and tested again and it still sends the password automatically, no dialog.

Can you please paste the one that works for you?

PA Updated by Per Amundsen about 4 years ago Actions #10

I just replaces $address with $nick, not sure what is going on for you.

EE Updated by eahm eahm about 4 years ago Actions #11

Ok, it works with the alias /qp, which for me is /quote PASS $$?*"Password:"

And with /quote PASS $$?*"Password:" but not with /quote PASS $$!?*"Password:"

So it should be all good for now I think, still testing few things.

PA Updated by Per Amundsen about 4 years ago Actions #12

Interesting, I'll see what I can find.

PA Updated by Per Amundsen about 4 years ago Actions #13

I finally figured out the second problem, see #5384.

For some reason the double $$ was not copy pasted so I was testing on $! which worked as expected compared to $$!.

EE Updated by eahm eahm about 4 years ago Actions #14

Thank you man, already tested and everything works perfectly!

Actions

Also available in: PDF Atom