npc_test_npctimer2.txt 302 B

12345678910111213141516
  1. prontera,156,183,0 script NPCtimerTest::npctimerX0000 116,{
  2. L_INIT:
  3. mes "What would you like to know?";
  4. menu "Tell me my level",L_WAIT;
  5. L_WAIT:
  6. mes "I need time to think...";
  7. initnpctimer;
  8. attachnpctimer;
  9. close;
  10. OnTimer5000:
  11. mes "Ah, your level is " + readparam(11);
  12. detachnpctimer;
  13. close;
  14. }