Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Be aware of that this script isn't done yet still some few problem. (:
- var endchat = "Okay, cya next time!";
- var next = "Sup? I can give you some items depending on what Job and level you are ;-).";
- var ifnot = "Sorry you do not have the require job or lvl to procced.";
- var ok = "There you go enjoy your items and armour!";
- var status = 0;
- function start() {
- status = -1;
- action(1,0,0);
- }
- function action(m,t,s) {
- if (m == 1) {
- status++;
- }
- else {
- cm.dispose();
- }
- if (status == 0) {
- cm.sendNext(next);
- }
- else if (status == 1) {
- cm.sendSimple("Sup I can give you an armour and a good wep for your current lvl, just press at the job you currently have.\r\n#L0##bWarrior#1\r\n#L1##bMagician#1\r\n#L2##bArcher#1\r\n#L3##bThief#1\r\n#L4##bPirate#1");
- }
- else if (status == 2) {
- if (s == 0) {
- if (cm.getPlayer().getGender() == 0) {
- if (cm.getPlayer().getJobId() == 100) {
- if (cm.getPlayer().getLevel() <= 10) {
- cm.gainItem(1302007,1);
- cm.gainItem(1402014,1);
- cm.gainItem(1432015,1);
- cm.sendOk(ok);
- cm.dispose();
- }
- else if (cm.getPlayer().getJobId() == 110 || 120 || 130) {
- }
- if (cm.getPlayer().getLevel() >= 30 && lvl <= 79) {
- cm.gainItem(1302008,1);
- cm.gainItem(1402002,1);
- cm.gainItem(1302071,1);
- cm.sendOk(ok);
- cm.dispose();
- }
- else if (cm.getPlayer().getJobId() == 111 || 121 || 131) {
- if (cm.getPlayer().getLevel() >= 80) {
- cm.gainItem(1302018,1);
- cm.gainItem(1402004,1);
- cm.gainItem(1432010,1);
- cm.sendOk(ok);
- cm.dispose();
- }
- else {
- cm.sendOk(ifnot);
- cm.dispose();
- }
- }
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment