Jump to content

Recommended Posts

Posted

Autoloot Settings


A rather simple autoloot settings function that I made, It's made to store 10 autoloot ID, there can be more than 10 as long as you adjust it. 
I made this function to store all ID in one variable rather than multiple ones.


 

  • Love 1
Posted (edited)
Quote

[Error]: script error on npc/custom/Autoloot_Setting.txt line 55
    parse_line: expected ';'
    50 :                if(atoi(.@alootid$[.@i]) == .@temporary_id){
    51 :                        mes "[ ^0000FFAutoloot Settings^000000 ]";
    52 :                        mes "You already have this ID in your autoloot settings.";
    53 :                        next;
    54 :                        autoloot_setting()
*   55 :                '}'
    56 :                continue;
    57 :        }
    58 :        return .@temporary_id;
    59 : }
    60 :
 

@crazyarashi correct me if I am wrong, but I believe that it is simply missing this ";" at hte end of line 54, in this way:
autoloot_setting ();

it's correct?
...another thing, how can you empty the slots on the list? In other words, delete an item on the list and leave it empty!
If there is no way, is it possible to implement this function?

Edited by CyberDevil
  • 1 year later...
  • 2 years later...
Posted
On 1/23/2023 at 5:14 PM, lelouchxv said:

How to make this Autoloot settings saved on whole account?

find all

alootid$

replace with

#alootid$

 

  • Love 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...