Useless ValidateNickArrival/SupportsArrival events
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Useless ValidateNickArrival/SupportsArrival events

Started by WAJIM, 06 November, 2009, 09:56:03

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WAJIM

Event ValidateNickArrival should arise after arrival of a command $ValidateNick, but it arises after processing by a hub of this command.

Event SupportsArrival should arise after arrival of a command $Supports, but it for some reason arises right after occurrence ValidateNickArrival.

I need to receive a name (nick) the user from a command $ValidateNick before its processing by a hub, I cannot make it. There are offers under the decision of a problem?

WAJIM

Quote from: Mutor on 06 November, 2009, 19:46:23
Certainly you can capture a nick in ValidateNickArrival

Really events occur in the following order:
$Supports ...
$Key ...
$ValidateNick ...
#1 SupportsArrival
#2 ValidateNickArrival

$MyPass ...
#3 PasswordArrival
$Version ...
#4 VersionArrival
$GetNickList|
#5 GetNickListArrival
$MyINFO ...
#6 MyINFOArrival

KeyArrival - Never arises. What for in general necessary this function?

ValidateNickArrival arises after processing by a hub of a nick and in the function it is possible to use user.sNick. I need to catch nick before its processing by a hub.
With existing API I cannot make it.

QuoteIf you study PtokaX\scripting.docs\scripting-interface.txt,
you can see which arrivals are NOT blockable by script.
I know it. The cancelling of a command is not necessary to me, data BEFORE its execution are necessary to me.

SMF spam blocked by CleanTalk