Originally posted by [b]Koca[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=3411
CODE
prt_maze01,144,21,0 script afk_hli 123,{
set $@my, getcharid(3);
donpcevent "afk_hl::OnEvent";
end;
}
prt_maze01,140,23,0 script afk_hl 123,{
OnEvent:
attachrid($@my);
input $@test;
npctalk "number: " + $@test;
end;
}
Or this:
CODE
- script hlidac -1,{
OnClock2200:
attachrid(2000001);
input @test;
mes @test;
close;
}
After inputing number, this error appears and script ends:
CODE
[22/08:31:32][Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not afk_hl (id=110319654).
the same error is when afk_hl npc is function.
PS: script is only demonstration
This post has been edited by Koca: Jul 22 2009, 11:42 AM