Project

General

Profile

Whois On Join script - displaying information only in the main channel window.

Added by Charlie Sorrow 5 days ago

I am using the following script:

on *:join:%wchannels: { whois $nick $nick }

menu Channel {
  Whois On Join
  .Enabled {
    set %wchannels $addtok(%wchannels,#,44)
    echo 4 -at ••• Whois on join is 7Enabled 4(for # $+ )
  }
  .Disabled {
    set %wchannels $remtok(%wchannels,#,1,44)
    echo 4 -at ••• Whois on join is 7Disabled 4(for # $+ )
  }
}

It causes every person joining the channel to execute the 'whois' command. Unfortunately, when I go to priv, the 'whois' information from the channel I'm on is displayed in the private message window. How do I make the whois information displayed by this script only visible in the main channel window and not in the private message window?


Replies (2)

RE: Whois On Join script - displaying information only in the main channel window. - Added by Per Amundsen 4 days ago

Whois information is not associated with a channel, it's associated with a nick. It will either show in the active window or in the status window depending on what this option is set to https://dev.adiirc.com/projects/adiirc/wiki/Events_Options#Whois.

RE: Whois On Join script - displaying information only in the main channel window. - Added by Charlie Sorrow 4 days ago

OK, so how to make whois information is not displayed in the priv window, but in the channel window where the person being checked is entering?
How to change the above script for this purpose?

    (1-2/2)