Simple Save Inventory

This is super simple! You can change the games, but I will just use Survival / Factions as my example!

/cmd install restoreinventory
/cmd install storeinventory

1. if %args%[1] = \”join\” then goto 5

2. if %args%[1] = \”leave\” then goto 9

3. message %p% Use /faction join to join factions, use /faction leave to leave factions!

4. exit

5. # Join

6. /warp survival

7. asop /restoreinventory %p%

8. exit

9. # Leave

10. asop /storeinventory %p%

11. /warp spawn

12. exit

Any errors or something you want me to add to it or a command to add tell me! I’m desperate!