Jump to content

how to make this script refine to +10.


Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.02
  • Content Count:  40
  • Reputation:   1
  • Joined:  06/24/22
  • Last Seen:  

function    script    refinescroll    {
            set .@menu$,"";
            for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
            {
                if( getequipisequiped(.@i) )
                    set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";
 
                set .@menu$, .@menu$ + ":";
            }
    set .@part,select(.@menu$);
    
    // =========================    
    
    if(!getequipisequiped(.@part)) {                // <========================== also this one is not working.
        getitem 35277,1;
        dispbottom "You're not wearing anything there that refines!";
        close;
    }
    //Check if the item is refinable...
    if(!getequipisenableref(.@part)) {
        getitem 35277,1;
        dispbottom "There is no way that this item could be refined!";
        close;
    }    

    //Check to see if the items is already +10
    if(getequiprefinerycnt(.@part) >= 10) {
        getitem 35277,1;
        dispbottom "I can't refine this any more. This is as refined as it gets!";
        close;
    }
        
        successrefitem .@part;
        dispbottom "There you go, Refine Scroll works like a charm :D";
        close;
    }

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.02
  • Content Count:  40
  • Reputation:   1
  • Joined:  06/24/22
  • Last Seen:  

solved.

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...