• 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!

Lua onLook? I want to do a specific thing.

andu

Sold 649 scripts, 25 maps and 9 events!
Joined
Aug 7, 2009
Messages
978
Solutions
17
Reaction score
375
GitHub
olrios
Twitch
jamagowy
I have many custom items, for ex:

No. 1
Code:
[center]You see a Armor of the Fallen
(arm 13, magic level +4, sword fighting +8,
protection physical +10%, death +20%).
It weight 139 oz.
(Health +500, death damage +40%)[/center]

Items.xml code:
LUA:
<item id="8875" article="a" name="Armor of the Fallen">
	<attribute key="armor" value="13"/>
	<attribute key="description" value="(health +500, death damage +40%)."/>
	<attribute key="slotType" value="body"/>
	<attribute key="weight" value="13900"/>
	<attribute key="magiclevelpoints" value="4"/>
	<attribute key="skillSword" value="8"/>
	<attribute key="maxhealthpoints" value="500"/>
	<attribute key="absorbpercentPhysical" value="10"/>
	<attribute key="absorbpercentDeath" value="20"/>
</item>

And, I want to make an encyclopedy.
Where when you type "/itemencyclopedy armor of the fallen" similar or the same text will appear (no. 1)
 
Back
Top