[Holley] drop protection.

future123

Dedicated Member
Dedicated Member
Nov 12, 2012
20
0
27
As anyone got the script to stop players dropping anything. full protection.. people saying that its in the scripts but cant seem to find it.. Thanks in advance.

---------- Post Merged at 11:52 AM ---------- Previous Post was at 10:54 AM ----------

i can get item protection , not bag .. anyone know ? thanks ..
 

future123

Dedicated Member
Dedicated Member
Nov 12, 2012
20
0
27
tbh karl its just 1 item i dont want the players to drop ... but might have to put that item ( mapjumper ) onto the d menu and just keep it as body protect
 
Upvote 0

Karl

LOMCN VIP
VIP
Mar 8, 2004
897
33
275
Gloucester
Sure you could use something like this:

Add this to mapinfo:

[0] 0 [UserDie] * * [MapQuest_Def\User_Die-Protect] [@main]

then in User_Die-Protect

[@main]
#IF
Checkitem ITEM
#ACT
take ITEM
goto @giveback
break

#IF
Checkitemw ITEM
#ACT
take ITEM
goto @giveback
#ELSEACT
break


Not sure without testing exactly at what point it would be safe to give the item back, but in theory, this should rob a persons item and then give back when they've died thus protecting it.

You could go even further and check the dura and give back the same dura.

There may be something simpler people are aware of but if the script runs BEFORE the person drops, this SHOULD work.
 
Upvote 0

future123

Dedicated Member
Dedicated Member
Nov 12, 2012
20
0
27
cheers mate will have a look :)

---------- Post Merged on 22-08-2013 at 07:37 PM ---------- Previous Post was on 21-08-2013 at 06:23 PM ----------

Only thing with this karl is its a map scroll and its for 7 days. With this it would give them a fresh one everytime

---------- Post Merged on 22-08-2013 at 07:37 PM ---------- Previous Post was on 21-08-2013 at 06:23 PM ----------

Only thing with this karl is its a map scroll and its for 7 days. With this it would give them a fresh one everytime
 
Upvote 0

Zisha

Dedicated Member
Dedicated Member
Feb 23, 2012
165
5
44
You can create a item click item.

Save coords x y + map and add safezone... with delaygoto.
 
Upvote 0