Actions
Bug #5072
closed$address/$fulladdress does not fetch user@host from :source on RAW CHGHOST
Start date:
06/15/2020
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
When attempting to make use of RAW CHGHOST it is not possible to fetch the :source user@host via the $address identifier. Other IRCv3 RAW's such as RAW INVITE and RAW ACCOUNT work as expected though. Interestingly $rawmsg DOES get the :source nick!user@host (the "old" one before CHGHOST broadcasts the "new" one). Perhaps AdiIRC is thrown off because there is two user@host at times or two hosts (RAW CHGHOST can apply to just the hostmask or to user@host both are possible). Workaround employed:
RAW CHGHOST:*: {
var s %full = $gettok($gettok($rawmsg,1,32),2,33)
var -s %ident = $gettok(%full,1,64)
var -s %host = $gettok(%full,2,64)
Then making use of %ident $+ $chr(64) $+ host to get the "old" user@host to be displayed.
Files
Actions