Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; #################################
- ; Script Name: Autoloot
- ; Author: POOODAWG
- ; Version: 1.0
- ; Client Tested with: 2.0
- ; EUO version tested with: 1.5 Version 155
- ; Shard OSI / FS: NeverlandsReborn (FS)
- ; Purpose: Loots corpses and ground
- ; #################################
- ;=============================================
- ; Configuration
- ;=============================================
- ; Set %key to youre liking.
- ;Here add all the item you wish to loot, gold reg and gem are aldready set
- set %key F7
- set %gold POF
- set %gem HVF_GVF_FVF_BVF_MWF_VUF_RVF_OVF_EVF
- set %rare CKF_RVH_QGG
- set %reg KUF_JUF_KZF_JZF_MZF_WZF_RZF_SZF_FUF
- set %armor
- set %weapon
- set %corpse IIF_POF_YFM
- set %totalloot %gem , _ , %rare , _ , %reg , _ , %armor , _ , %weapon , _ , %gold
- ;=============================================
- lootbag:
- {
- event SysMessage Open lootbag and press Space.
- waitkey:
- {
- onhotkey SPACE
- goto setbag
- }
- goto waitkey
- }
- setbag:
- {
- if #CONTNAME <> container_gump || #CONTID = #BACKPACKID
- {
- goto lootbag
- }
- set %Lootbag #CONTID
- event SysMessage lootbag succesfully chosen, you can now use the script.
- }
- Start:
- {
- onhotkey %key
- {
- goto Loot
- }
- goto start
- }
- Loot:
- {
- finditem %totalloot G_2
- wait 5
- while #findkind <> -1
- {
- finditem %totalloot G_2
- wait 5
- exevent drag #findid #findstack
- wait 5
- exevent dropc %Lootbag
- }
- finditem %corpse G_2
- wait 5
- while #findkind <> -1
- {
- set #lobjectid #findid
- nextcpos 20 20
- event macro 17 0
- wait 10
- set %corpseopen #contid
- ignoreitem #lobjectid 1
- finditem %totalloot C_ , %corpseopen
- wait 5
- while #findkind <> -1
- {
- finditem %totalloot C_ , %corpseopen
- wait 5
- exevent drag #findid #findstack
- wait 5
- exevent dropc %Lootbag
- }
- finditem %corpse G_2
- wait 5
- }
- event sysmessage All done Or no Corpses around
- wait 10
- goto Start
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement