mIRC Home    About    Download    Register    News    Help

Print Thread
On Join gives no access to $1- for extended-join #251805 04/03/15 09:06 PM
Joined: Feb 2003
Posts: 2,680
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,680
When enabling CAP extended-join on servers that support this extension, it's impossible to retrieve the information being sent by the server.

https://github.com/atheme/charybdis/blob/master/doc/extended-join.txt

When extended-join is turned on via CAP req :extended-join there are 2 additional parameters sent to the client in all JOIN messages...

(Standard) :MadGoat!arnie@loves.mirc.co.uk JOIN #mIRC
(Extended) :MadGoat!arnie@loves.mirc.co.uk JOIN #mIRC Arnie :I am Green! RAWR!

Those added parameters are their NickServ account name, and gecos (real name).

There's no way to access this information by On Join event, as $1- is left blank. RAW Join doesn't trigger as an event, either. The only way to access the information is via /debug hacks. frown


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: On Join gives no access to $1- for extended-join [Re: Raccoon] #251817 05/03/15 03:23 AM
Joined: Apr 2010
Posts: 936
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 936
IIRC you can use $rawmsg


I am SReject
My Stuff
Re: On Join gives no access to $1- for extended-join [Re: FroggieDaFrog] #251818 05/03/15 10:40 AM
Joined: Feb 2003
Posts: 2,680
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,680
Oh neat, I forgot about that!

Thank you. smile


Well. At least I won lunch.
Good philosophy, see good in bad, I like!