Jump to content
  • 0

@fakename when multiple item equip


Question

Posted (edited)

Can anyone help me do this stuff, i dont have any preference for me to disect how to do it properly. Here is the script.

function    script    Titles {

setarray .@item$[0],6010,27307,27311;

if(strcharinfo(0) == getequipid(4) == 6010 && getequipid(9) == 27307 &&getequipid(1) == 27311){
    explode(.@item$,getitemname(getarg(0,0))," ");
    if(.@item$[0]!="") atcommand "@fakename [Novice Miner]"+strcharinfo(0);
    else atcommand "@fakename";
    end;
}

 

Also in Item DB what should put?

6010,MiningPickaxe,Mining Pickaxe,3,0,,10,,,,,,,,,,,,,{},{callfunc("Titles",6010);},{atcommand @fakename;}
27307,MiningArmor,Mining Armor,3,0,,10,,,,,,,,,,,,,{},{callfunc("Titles",27307);},{atcommand @fakename;}
27311,MiningHelm,Mining Helm,3,0,,10,,,,,,,,,,,,,{},{callfunc("Titles",27311);},{atcommand @fakename;}

 

And also anyone knows how to edit this?

atcommand.c

clif_displaymessage(sd->fd, msg_txt(1309)); // Fakename disabled

I want to change the Fakename Disabled to Title has been removed.

Edited by Lil Troll

5 answers to this question

Recommended Posts

Posted

It's unclear exactly what you want.

 

To disable the fakename message just comment that line out.

clif_displaymessage(sd->fd, "Title has been removed"); // Fakename disabled

Have you tried something like that?

  • Upvote 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
Answer this question...

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