From b4fef367ff152e0804435b039c05f5e0566d4bf1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Jan 2016 23:14:23 +0300 Subject: Add some more evol script commands. --- server/scripts/evol_script_commands.txt | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'server/scripts/evol_script_commands.txt') diff --git a/server/scripts/evol_script_commands.txt b/server/scripts/evol_script_commands.txt index e8571e4..b6f1c23 100644 --- a/server/scripts/evol_script_commands.txt +++ b/server/scripts/evol_script_commands.txt @@ -49,3 +49,54 @@ Disable camera moving mode in client and set camera to default position. Example: restorecam; +--------------------------------------- + +*npctalk3 text + +Send chat message from current npc, visible only for attached player. +Npc name will be translated. + +Example: + npctalk3 "hello"; + +--------------------------------------- + +*closedialog + +Will close npc dialog in client. If npc script will continue after this command, +dialog can be opened again. + +Example: + closedialog; + +--------------------------------------- + +*shop npcName + +Open if exists for attached player npc shop from npc with name "npcName" + +Example: + shop "bag"; + +--------------------------------------- + +*getitemlink itemName [, cardName1 [, cardName2 [, cardName3 [, cardName4]]]] +*getitemlink itemId [, cardName1 [, cardName2 [, cardName3 [, cardName4]]]] + +Return link for item id "itemId" or name "itemName" with cards. +This link after can be used in mes or other commands what show messages in npc dialog. + +Example: + mes "Acorn link: " + getitemlink(Acorn); + mes getitemlink(VneckJumper, MintCashmereDye); + +--------------------------------------- + +*getinvindexlink index + +Return link to item by player inventory index. Also return cards in link. +This link after can be used in mes or other commands what show messages in npc dialog. +Inventory index counted from 0. + +Example: + mes "link here: " + getinvindexlink(3); -- cgit v1.2.3-60-g2f50