Jump to content
crazyarashi

Utility: Autoloot Settings

Recommended Posts

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.


 

Link to comment
Share on other sites

Quote

[Error]: script error on npc/custom/Autoloot_Setting.txt line 55
    parse_line: expected ';'
    50 :                if(atoi([email protected]$[[email protected]]) == [email protected]_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 [email protected]_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
Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.