Jump to content
  • 0

How to make this script Account Base...


Ragnar Lothbrok

Question


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   6
  • Joined:  04/24/12
  • Last Seen:  

This is Guild Package NPC Script..

now i want to make this script account base/ip base, can anyone help me please!

prontera,146,170,5 script Guild Package Member 416,{
if(countitem(8998)<1) {
mes "[Guildsmen]";
mes "You are not qualified on the Event";
mes "Please inquire to the game master";
close;
} else {
delitem 8998,1;
mes "[Guildsmen]";
mes "Hello Players welcome to the Guild Package Event";
mes "I am in-charge of the Members of the guild you have.";
next;
mes "[Guildsmen]";
mes "Please choose a weapon";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "Infiltrator[1]",-,"+7 Luna Kaleet[3]",kaleet,"+7 Principles of Magic[2]",Magic,"+7 Orc Archer's Bow",Archer,"+7 Lich Bone Wand",wand,"+7 Orcish Axe",axe;
getitem 1266,1;
callfunc "F_2nd";
end;
kaleet:
getitem2 1544,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
Magic:
getitem2 1572,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
Archer:
getitem2 1734,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
wand:
getitem2 1624,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
axe:
getitem2 1309,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;

OnPCLoadMapEvent:
if(strcharinfo(3)=="prontera") showevent 2,2;
end;
}
}


prontera mapflag loadevent

function script F_2nd {
next;
mes "[Guildsmen]";
mes "Choose Your Armor";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "+7 Odin's Blessing[1]",-,"+7 Dragon Vest[1]",Vest,"+7 Improved Tights[1]",Tights;
getitem2 2353,1,1,7,0,0,0,0,0;
callfunc "F_3rd";
end;
Vest:
getitem2 2399,1,1,7,0,0,0,0,0;
callfunc "F_3rd";
end;
Tights:
getitem2 2390,1,1,7,0,0,0,0,0;
callfunc "F_3rd";
end;
}

function script F_3rd {
next;
mes "[Guildsmen]";
mes "Choose Your Accessory";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "Orlean's Glove[1]",-,"Bradium Earring[1]",B1,"Bradium Ring[1]",B2,"Bradium Brooch[1]",B3;
getitem 2701,2;
callfunc "F_4th";
end;
B1:
getitem 2788,2;
callfunc "F_4th";
end;
B2:
getitem 2789,2;
callfunc "F_4th";
end;
B3:
getitem 2790,2;
callfunc "F_4th";
end;
}

function script F_4th {
next;
mes "[Guildsmen]";
mes "Choose Your Garments";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "+7 Dragon Manteau[1]",-,"+7 Wool Scarf[1]",wool,"+7 Skin of Ventus[1]",ventus;
getitem2 2553,1,1,7,0,0,0,0,0;
callfunc "F_5th";
end;
wool:
getitem2 2528,1,1,7,0,0,0,0,0;
callfunc "F_5th";
end;
ventus:
getitem2 2536,1,1,7,0,0,0,0,0;
callfunc "F_5th";
end;
}

function script F_5th {
next;
mes "[Guildsmen]";
mes "Choose Your Shield";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "+7 Valkyrie Shield[1]",-,"+7 Thorny Shield[1]",torn,"+7 Orlean's Server[1]",server;
getitem2 2115,1,1,7,0,0,0,0,0;
callfunc "F_6th";
end;
torn:
getitem2 2124,1,1,7,0,0,0,0,0;
callfunc "F_6th";
end;
server:
getitem2 2123,1,1,7,0,0,0,0,0;
callfunc "F_6th";
end;
}

function script F_6th {
next;
mes "[Guildsmen]";
mes "Now this is the Last Part";
mes "Take this headgears and consumables item.";
mes "^FF0000Click next and your done!^000000";
next;
getitem 13989,100;
getitem 14004,50;
getitem 14232,10;
getitem 12530,100;
getitem 14003,5;
getitem 14236,1;
getitem 14237,1;
getitem 14238,1;
getitem 14239,1;
getitem 14240,1;
getitem 14241,1;
getitem 14178,1;
getitem 12710,5;
getitem 2202,1;
getitem2 5453,1,1,0,0,0,0,0,0;
close2;
atcommand "@sound complete.wav";
specialeffect2 501;
atcommand "@me Is done! NEXT!";
end;
}

Edited by Euphy
Codeboxed
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

prontera,146,170,5 script Guild Package Member 416,{
if(countitem(8998)<1 ||  #done) {
mes "[Guildsmen]";
mes "You are not qualified on the Event";
mes "Please inquire to the game master";
close;
} else {
delitem 8998,1;
mes "[Guildsmen]";
mes "Hello Players welcome to the Guild Package Event";
mes "I am in-charge of the Members of the guild you have.";
next;
mes "[Guildsmen]";
mes "Please choose a weapon";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "Infiltrator[1]",-,"+7 Luna Kaleet[3]",kaleet,"+7 Principles of Magic[2]",Magic,"+7 Orc Archer's Bow",Archer,"+7 Lich Bone Wand",wand,"+7 Orcish Axe",axe;
getitem 1266,1;
callfunc "F_2nd";
end;
kaleet:
getitem2 1544,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
Magic:
getitem2 1572,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
Archer:
getitem2 1734,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
wand:
getitem2 1624,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
axe:
getitem2 1309,1,1,7,0,0,0,0,0;
callfunc "F_2nd";
end;
OnPCLoadMapEvent:
if(strcharinfo(3)=="prontera") showevent 2,2;
end;
}
}

prontera mapflag loadevent
function script F_2nd {
next;
mes "[Guildsmen]";
mes "Choose Your Armor";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "+7 Odin's Blessing[1]",-,"+7 Dragon Vest[1]",Vest,"+7 Improved Tights[1]",Tights;
getitem2 2353,1,1,7,0,0,0,0,0;
callfunc "F_3rd";
end;
Vest:
getitem2 2399,1,1,7,0,0,0,0,0;
callfunc "F_3rd";
end;
Tights:
getitem2 2390,1,1,7,0,0,0,0,0;
callfunc "F_3rd";
end;
}
function script F_3rd {
next;
mes "[Guildsmen]";
mes "Choose Your Accessory";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "Orlean's Glove[1]",-,"Bradium Earring[1]",B1,"Bradium Ring[1]",B2,"Bradium Brooch[1]",B3;
getitem 2701,2;
callfunc "F_4th";
end;
B1:
getitem 2788,2;
callfunc "F_4th";
end;
B2:
getitem 2789,2;
callfunc "F_4th";
end;
B3:
getitem 2790,2;
callfunc "F_4th";
end;
}
function script F_4th {
next;
mes "[Guildsmen]";
mes "Choose Your Garments";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "+7 Dragon Manteau[1]",-,"+7 Wool Scarf[1]",wool,"+7 Skin of Ventus[1]",ventus;
getitem2 2553,1,1,7,0,0,0,0,0;
callfunc "F_5th";
end;
wool:
getitem2 2528,1,1,7,0,0,0,0,0;
callfunc "F_5th";
end;
ventus:
getitem2 2536,1,1,7,0,0,0,0,0;
callfunc "F_5th";
end;
}
function script F_5th {
next;
mes "[Guildsmen]";
mes "Choose Your Shield";
mes "Choose wisely, because this is only one time.";
mes "^FF0000THINK BEFORE YOU CLICK^000000";
next;
menu "+7 Valkyrie Shield[1]",-,"+7 Thorny Shield[1]",torn,"+7 Orlean's Server[1]",server;
getitem2 2115,1,1,7,0,0,0,0,0;
callfunc "F_6th";
end;
torn:
getitem2 2124,1,1,7,0,0,0,0,0;
callfunc "F_6th";
end;
server:
getitem2 2123,1,1,7,0,0,0,0,0;
callfunc "F_6th";
end;
}
function script F_6th {
next;
mes "[Guildsmen]";
mes "Now this is the Last Part";
mes "Take this headgears and consumables item.";
mes "^FF0000Click next and your done!^000000";
next;
getitem 13989,100;
getitem 14004,50;
getitem 14232,10;
getitem 12530,100;
getitem 14003,5;
getitem 14236,1;
getitem 14237,1;
getitem 14238,1;
getitem 14239,1;
getitem 14240,1;
getitem 14241,1;
getitem 14178,1;
getitem 12710,5;
getitem 2202,1;
getitem2 5453,1,1,0,0,0,0,0,0;
close2;
atcommand "@sound complete.wav";
specialeffect2 501;
atcommand "@me Is done! NEXT!";
set #done, 1;
end;
}

Edited by Arcenciel
Codeboxed
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
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.

×
×
  • Create New...