Hey guys, s I have this sets which are the same but in different colors, I'm trying to make a script that lets you change the color (which is a different item) for ex: if I have the black set equipped and i use the command it would let me get this menu and change to other color...
- script Perfect Set -1,{
OnInit:
bindatcmd("pset", strnpcinfo(3) +"::OnPSET");
end;
OnPSET:
if (@pset) {
set @pset, 0;
menuq:
mes "[NightmareRO]";
mes "Welcome I have Special items for those who have donated to the server.";
next;
mes "[NightmareRO]";
mes "What do you want to see??";
next;
menu "Perfect Set",qs,"Exit",exit;
exit:
mes "[NightmareRO]";
mes "Have a great day, Bye";
close;
norew:
mes "[Hombre]";
mes "You dont have enough ^0000FFProof of donation^000000.";
close;
///////////////////COMIENZO JOBS////////////////////////////////////
qs1:
next;
menu "Periwinkle Iris Set +10(Int)",q1,"Azure Iris Set +10(Luk)",q2,"Ebony Iris Set +10(Dex)",q3,"Maize Iris Set +10(Agi)",q4,"Folly Iris Set +10(Str)",q5,"Exit",exit;
end;
}
}
I made this but is not completed and I dont know how to make the if equipped part....
Question
KingRamses
Hey guys, s I have this sets which are the same but in different colors, I'm trying to make a script that lets you change the color (which is a different item) for ex: if I have the black set equipped and i use the command it would let me get this menu and change to other color...
I made this but is not completed and I dont know how to make the if equipped part....
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.