RazorBlade
Retired Snek
Since nowadays, commands are talkactions, they're editable. In the latest TFS, the /i command automatically makes 100 of an item, or 100 charges on the item. Part of the script shows
So to change the amount, it just needs to be changed here. However, if you make an item that has charges, you still have to do, for example, /i stone skin amulet, 5 in order to give it 5 charges. There's no function to find the charges of an item, which is ridiculous. Is there any way to make it so if I do /i stone skin amulet or /i for anything else that has charges, it'll give it the correct number of charges automatically? I just need a function to check charges and I can do the rest... Any ideas? :
Code:
local amount = 100
if(t[2]) then
amount = t[2]
end
Last edited: