[DiscordArchive] Was looking into eluna
[DiscordArchive] Was looking into eluna
Archived author: Ryan Turner • Posted: 2024-12-31T14:36:42.788000+00:00
Original source
Was looking into eluna
`name = Item:GetName()`
If i place my ItemID as an argument `name = Item:GetName(31100)` will it return me that's item name?
Archived author: Tereneckla • Posted: 2024-12-31T14:39:31.607000+00:00
Original source
no, GetName() is a method on an item object
Archived author: Tereneckla • Posted: 2024-12-31T14:45:01.091000+00:00
Original source
`Global:GetItemTemplate(31100):GetName()` probably is the way to get the name out of an entry (there is no documentation for GetItemTemplate() so I am guessing)
![[Image: image.png?ex=690c0e76&is=690abcf6&hm=0a2...8b831f917&]](https://cdn.discordapp.com/attachments/448835144564867094/1323666198180659252/image.png?ex=690c0e76&is=690abcf6&hm=0a2c4432bbcc9b4d7876cfd6315926c351b1b7aab441b94fa741d558b831f917&)
Archived author: Ryan Turner • Posted: 2024-12-31T14:56:54.193000+00:00
Original source
![[Image: image.png?ex=690c0e76&is=690abcf6&hm=0a2...8b831f917&]](https://cdn.discordapp.com/attachments/448835144564867094/1323666198180659252/image.png?ex=690c0e76&is=690abcf6&hm=0a2c4432bbcc9b4d7876cfd6315926c351b1b7aab441b94fa741d558b831f917&)
Archived author: Ryan Turner • Posted: 2024-12-31T14:57:30.466000+00:00
Original source
(im trying to add name of the item to the existing script) but i dont think it works the name one
Archived author: Tereneckla • Posted: 2024-12-31T14:59:12.783000+00:00
Original source
ah, Global is not needed
Archived author: Ryan Turner • Posted: 2024-12-31T14:59:49.846000+00:00
Original source
=o it works
![[Image: image.png?ex=690c0f2d&is=690abdad&hm=de3...d6bcf223c&]](https://cdn.discordapp.com/attachments/448835144564867094/1323666965478248570/image.png?ex=690c0f2d&is=690abdad&hm=de3d856987315c3105b946f0905e6e59b94919bf165b45da995aa81d6bcf223c&)
Archived author: Ryan Turner • Posted: 2024-12-31T14:59:57.252000+00:00
Original source
![[Image: image.png?ex=690c0f2d&is=690abdad&hm=de3...d6bcf223c&]](https://cdn.discordapp.com/attachments/448835144564867094/1323666965478248570/image.png?ex=690c0f2d&is=690abdad&hm=de3d856987315c3105b946f0905e6e59b94919bf165b45da995aa81d6bcf223c&)
Archived author: Ryan Turner • Posted: 2024-12-31T15:02:39.091000+00:00
Original source
Are you abale if the log how many parameters it can take?
Dont seem to find the log in eluna wait this might be chathandler