diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-10 03:00:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-10 03:00:20 -0300 |
commit | ba1e827b6b4c17c35a163e6b55be8c122de632b8 (patch) | |
tree | 819f93d0ffee3697e336471710afb9681f0b8d86 /npc/commands/numa.txt | |
parent | 6e7f3113c0faad9edd4367d100ba9dd77e8d3130 (diff) | |
download | serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.gz serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.bz2 serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.xz serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.zip |
Add several convenience functions. Fix some bugs regarding misuse of readparam()
Diffstat (limited to 'npc/commands/numa.txt')
-rwxr-xr-x | npc/commands/numa.txt | 43 |
1 files changed, 5 insertions, 38 deletions
diff --git a/npc/commands/numa.txt b/npc/commands/numa.txt index 92cd5c9d..b8b0a924 100755 --- a/npc/commands/numa.txt +++ b/npc/commands/numa.txt @@ -1,8 +1,8 @@ - script SuperDebug NPC32767,{ if (GM < MAP_LOUNGE && GM < G_SYSOP && !debug) goto L_GM2; // make sure you can enter the gm lounge - if (target(BL_ID,getnpcid("Numa"),1)) goto L_Main; - npcaction 6, 12; + //if (target(BL_ID,getnpcid("Numa"),1)) goto L_Main; + //npcaction 6, 12; title "Numa"; goto L_Main; @@ -78,51 +78,18 @@ L_GM: goto L_close; L_Quest: - callfunc "QuestDebug"; + callfunc "GlobalQuestDebug"; goto L_close; L_close: close; OnInit: - registercmd chr(ATCMD_SYMBOL) + "numa", strnpcinfo(0); - registercmd chr(ATCMD_SYMBOL) + "superdebug", strnpcinfo(0); + registercmd "numa", strnpcinfo(0); + registercmd "superdebug", strnpcinfo(0); end; } 017-9,30,28,0 duplicate(SuperDebug) Numa NPC393 -function script QuestDebug { - goto L_ChooseContinent; -L_ChooseContinent: - mes "Choose a continent."; - next; - menu - "Argeas", L_Argeas, - "Close", L_Return; - -L_Argeas: - mes "Choose an area."; - next; - menu - "Woodland", L_Woodland, - "Choose a continent", L_ChooseContinent, - "Close", L_Return; - -L_Woodland: - mes "Choose a quest."; - next; - menu - "Illia Sisters", L_Valia, - "Choose an area", L_Argeas, - "Close", L_Return; - -L_Return: - return; - - -L_Valia: - callfunc "IlliaDebug"; - goto L_Return; -} |