Code:
if ((itemUsed == 233) && (useWith == 237)) {
deleteItem(237, getItemSlot(237), 1);
addItem(235, 1);
} else if ((itemUsed == 590) && (useWith == 1511)) {
if (playerLevel[11] >= 0) {
deleteItem(1511, getItemSlot(1511), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(180, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 0 to burn normal logs.");
}
} else if ((itemUsed == 590) && (useWith == 1521)) {
if (playerLevel[11] >= 15) {
deleteItem(1521, getItemSlot(1521), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(250, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 15 to burn oak logs.");
}
}
else if ((itemUsed == 590) && (useWith == 1519)) {
if (playerLevel[11] >= 30) {
deleteItem(1519, getItemSlot(1519), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(340, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 30 to burn willow logs.");
}
} else if ((itemUsed == 590) && (useWith == 1517)) {
if (playerLevel[11] >= 45) {
deleteItem(1517, getItemSlot(1517), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(600, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 45 to burn maple logs.");
}
}
else if ((itemUsed == 590) && (useWith == 1515)) {
if (playerLevel[11] >= 60) {
deleteItem(1515, getItemSlot(1515), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(780, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 60 to burn yew logs.");
}
} else if ((itemUsed == 590) && (useWith == 1513)) {
if (playerLevel[11] >= 75) {
deleteItem(1513, getItemSlot(1513), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(1200, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 75 to burn magic logs.");
}
}
else if ((itemUsed == 1511) && (useWith == 590)) {
if (playerLevel[11] >= 0) {
deleteItem(1511, getItemSlot(1511), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(180, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 0 to burn normal logs.");
}
} else if ((itemUsed == 1521) && (useWith == 590)) {
if (playerLevel[11] >= 15) {
deleteItem(1521, getItemSlot(1521), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(250, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 15 to burn oak logs.");
}
}
else if ((itemUsed == 1519) && (useWith == 590)) {
if (playerLevel[11] >= 30) {
deleteItem(1519, getItemSlot(1519), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(340, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 30 to burn willow logs.");
}
} else if ((itemUsed == 1517) && (useWith == 590)) {
if (playerLevel[11] >= 45) {
deleteItem(1517, getItemSlot(1517), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(600, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 45 to burn maple logs.");
}
}
else if ((itemUsed == 1515) && (useWith == 590)) {
if (playerLevel[11] >= 60) {
deleteItem(1515, getItemSlot(1515), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(780, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 60 to burn yew logs.");
}
} else if ((itemUsed == 1513) && (useWith == 590)) {
if (playerLevel[11] >= 75) {
deleteItem(1513, getItemSlot(1513), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(1200, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 75 to burn magic logs.");
}
}
No problem if this helps, If it dont dont worry