• 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 ADD name when giving look on magicwall

subyth

New Member
Joined
May 1, 2009
Messages
56
Reaction score
4
OTX 0.4 (8.60)

I wish it could appear the name of the character who used the MW by giving it a look.

Ex:

You see the Magic Wall.
By: NAME.


Thx!!
 
Last edited:
I found this script in my archive. It should work.

After adding description in MW in itens.XML, an error appeared whenever I use it. But the same does not appear the name of who played the MW and it does not disappear.

Code:
[26/8/2018 12:28:7] [Error - Spell Interface]
[26/8/2018 12:28:7] data/spells/scripts/support/magic wall rune.lua:onCastSpell
[26/8/2018 12:28:7] Description:
[26/8/2018 12:28:7] data/spells/scripts/support/magic wall rune.lua:24: attempt to concatenate a nil value
[26/8/2018 12:28:7] stack traceback:
[26/8/2018 12:28:7]     data/spells/scripts/support/magic wall rune.lua:24: in function <data/spells/scripts/support/magic wall rune.lua:4>
 
Back
Top