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

[Request] Use item get xxx items

God Mythera

Veteran OT User
Joined
Aug 11, 2012
Messages
2,051
Solutions
2
Reaction score
260
Location
United States
Hello and i am here to request a script, lets say you use a box and you get tools like shovel, rope, scythe, ect. and when you use the box the box is removed and adds the item tools ^^
 
Code:
if item.itemid == id then
doGiveItem(item,1)
doRemoveItem(id)
End

Now you know how to do it. Replace with your tfs functions.
 
Last edited:
Code:
if item.itemid == id then
doGiveItem(item,1)
doRemoveItem(id)
End

Now you know how to do it. Replace with your tfs functions.
Why check for itemid if the script is registered to the itemid, comparing id's is only useful if more than 1 item is used for the same script.
 
You are our white knight! The virgin of all virgins! Our savior! You can't just ignore the towns people!!!!!

@God Mythera What TFS are you using?
Sorry haha i am using tfs 1.2 :p

God.. ignoring these threads is hard.
I'm trying to imagine this as a troll thread, but I really know it's not. :(

https://otland.net/threads/present-script-7-6.41068/
Any way to make it so it gives like 3-4 items at one time? =) and i am not a troll i am just trying to find useful scripts to help my players get tools like (shovel, rope, scythe, pick) and today i have reached record of 20 online :D
 
Sorry haha i am using tfs 1.2 :p


Any way to make it so it gives like 3-4 items at one time? =) and i am not a troll i am just trying to find useful scripts to help my players get tools like (shovel, rope, scythe, pick) and today i have reached record of 20 online :D
How have you been here for almost 4 years and not know how to make an extremely simple script?
 
How have you been here for almost 4 years and not know how to make an extremely simple script?
I could easily make one but i am currently fixing map bugs on my server, and fixing crafting system. If i get time i can just make it myself but i thought id save a few minutes and request it here :P i see people request scripts every day, who have been here for 6+ years and no one even says anything.
 
I could easily make one but i am currently fixing map bugs on my server, and fixing crafting system. If i get time i can just make it myself but i thought id save a few minutes and request it here :p i see people request scripts every day, who have been here for 6+ years and no one even says anything.
stop lying...
this script is easily doable in less time than what you've spent posting in this thread
 
I dont see what the problem is, i thought people would like to help? ;d the support on this thread is dead.
This is a request board, when someone got time they might do a script for you.
Until then learn by doing.

I could easily make one but i am currently fixing map bugs on my server, and fixing crafting system. If i get time i can just make it myself but i thought id save a few minutes and request it here :p i see people request scripts every day, who have been here for 6+ years and no one even says anything.

This is a lie, you should be able to create the script in less time it takes than making this thread.
 
I dont see what the problem is, i thought people would like to help? ;d the support on this thread is dead.
we do help a lot of people in the support/request board, but not many people help with things like this because its so basic
its like asking ur college math professor how to solve 10+10, because you dont have the time to solve it (or rather dont actually know in this case...)
 
we do help a lot of people in the support/request board, but not many people help with things like this because its so basic
its like asking ur college math professor how to solve 10+10, because you dont have the time to solve it (or rather dont actually know in this case...)
I have tried making the script myself, but it doesnt work :|
 
we do help a lot of people in the support/request board, but not many people help with things like this because its so basic
its like asking ur college math professor how to solve 10+10, because you dont have the time to solve it (or rather dont actually know in this case...)
Hey I see ur prem user now, gz ;p
 
Back
Top