Issue information

Issue ID
#1209
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Mar 18, 2008 8:47
Last Post
Hercules Elf Bot
Mar 18, 2008 8:47
Confirmation
N/A

Hercules Elf Bot - Mar 18, 2008 8:47

Originally posted by [b]~AnnieRuru~[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1209

it tested on revision 12322 Trunk, but I think it appear to all revision

original topic
http://www.eathena.ws/board/index.php?showtopic=182387


in simplify
CODE
prontera,152,181,5    script    logout    100,{
    mes "haha";
    next;
    input .@a;
    mes .@a;
    close2; // close2 here but not next; so the next input is without the npc message box
    input .@b$;
    mes .@b$;
    next;
    menu "whatever",-;
    mes @menu;
    close;
}
-    script    logout#trigger    -1,{
OnPCLogoutEvent:
    debugmes strcharinfo(0) +" has logout the game";
    end;
}

during next; menu; input; close2; , a player logout during that time DOES NOT trigger OnPCLogoutEvent

but during the last close; command can trigger OnPCLogoutEvent