• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Parameter key help

habiba

New Member
Joined
Aug 26, 2007
Messages
586
Reaction score
4
Location
Örebro, Sweden
Hello all!
i need some help i wonder if i can use this funktions in .xml for npc's


('idletime')
('talkradius')
('message_needmorespace')
('message_onbuy_needspace')
('message_sendtrade')
('message_noshop')
('message_oncloseshop')
('message_onbuy')
('message_onsell')
('message_nothaveitem')
('message_idletimeout')
('message_alreadyfocused')
('message_placedinqueue')
('message_buy')
('message_sell')

what this funktions do and how do i use them?
Show that in parameter key


Give me examples on all please if they are working for .xml.


Exemple of my
Code:
('travel_destinations')              <parameter key="travel_destinations" value="City1,xxxx,yyyy,z,price" />
('shop_buyable')                     <parameter key="shop_buyable" value="Name Of Item,ID,Price" />

If you don't understand what i mean i will tray to explain.
 
I'll give you an example of all

Code:
<parameter key="message_greet" value="Hello |PLAYERNAME|. Do you want to buy any spell runes?"/> <!-- When a player says hello or hi --->
<parameter key="MESSAGE_FAREWELL" value="Farewell, Pilgrim!"/> <!-- When a players says bye -->
<parameter key="MESSAGE_ONBUY" value="Thank you for the money, |PLAYERNAME|!"/> <!-- When you buying an item from npc -->
<parameter key="MESSAGE_ONSELL" value="Thank you for this |ITEMNAME|, |PLAYERNAME|"/> <!-- When selling an items to the npc -->
<parameter key="MESSAGE_NEEDMOREMONEY" value="You do not have enough money."/> <!-- When the buyer doesn't have enough money -->
<parameter key="MESSAGE_NOTHAVEITEM" value="You do not have this item."/> <!-- if a player trys to sell an item but doesn't that item -->
<parameter key="MESSAGE_IDLETIMEOUT" value="Farewell, Pilgrim."/> <!-- When the time runs out and the npc takes the next one in the queue -->
<parameter key="MESSAGE_WALKAWAY" value="Farewell, Pilgrim."/> <!-- When the player walks away -->
<parameter key="MESSAGE_DECLINE" value="Hmm, maybe another time."/> <!-- When the player doesn't accept the sell -->
<parameter key="MESSAGE_NEEDMORESPACE" value="You don\'t have enough space to carry these items."/> <!-- when the player doesn't have enough space -->
<parameter key="MESSAGE_ONBUYNEEDSPACE" value="Here you are some of them, though you don\'t got space to carry the rest."/> <!-- Pretty self explaining -->
<parameter key="MESSAGE_SENDTRADE" value="Here\'s my offer, |PLAYERNAME|. Don\'t you like it."/> <!-- When the player says "trade" or "offers" (requesting trade window) -->
<parameter key="MESSAGE_NOSHOP" value="Sorry, I\'m not offering anything."/> <!-- Requesting Trade Window with an npc that doesn't trade anything -->
<parameter key="MESSAGE_ONCLOSESHOP" value="Thank you, come back when you want something more."/> <!-- When coming the trade window -->
<parameter key="MESSAGE_ALREADYFOCUSED" value="|PLAYERNAME|, I am already talking to you."/> <!-- Already talking to the player and he says hi again -->
<parameter key="MESSAGE_PLACEDINQUEUE" value="|PLAYERNAME|, please wait for your turn. There are |QUEUESIZE| customers before you."/> <!-- when the player is placed in npc Queue, however this shouldn't exists since 8.2 -->
<parameter key="MESSAGE_BUY" value="Do you want to buy |ITEMCOUNT| |ITEMNAME| for |TOTALCOST| gold coins?"/> <!-- when a player says "Buy spike sword" (eg.) -->
<parameter key="MESSAGE_SELL" value="Do you want to sell |ITEMCOUNT| |ITEMNAME| for |TOTALCOST| gold coins?"/> <!-- when a players say "Sell spike sword" (eg.) -->
 
Back
Top