Newbie Spellweaver
- Joined
- Mar 13, 2011
- Messages
- 21
- Reaction score
- 39
function start() {
cm.sendSimple("If you had wings, I'm sure you could go there. But, that alone won't be enough. If you want to fly though the wind that's sharper than a blade, you'll need tough scales as well. I'm the only Halfling left that knows the way back... If you want to go there, I can transform you. No matter what you are, for this moment, you will become a #bDragon#k...\r\n #L0##bI want to become a dragon.#k#l");
}
function action(m, t, s) {
if (m > 0)
cm.useItem(2210016, 1);
cm.warp(200090500, 0);
cm.dispose();
}
function enter(pi) {
pi.useItem(2210016);
pi.warp(200090510);
return true;
}
function enter(pi) {
pi.cancelItem(2210016);
pi.warp(270000100, "out00");
return true;
}
var from = [270010100, 270010200, 270010300, 270010400, 270010500, 270020100,
270020200, 270020300, 270020400, 270020500, 270030100, 270030200,
270030300, 270030400, 270030500, 270040000, 270040100];
var to = [[270010110, 3], [270010210, 3], [270010310, 3], [270010410, 3],
[270020000, 4], [270020110, 3], [270020210, 3], [270020310, 3],
[270020410, 3], [270030000, 4], [270030110, 3], [270030210, 3],
[270030310, 3], [270030410, 3], [270040000, 3], [270040100, 3],
[270050000, 0]];
function enter(pi) {
for (var i = 0; i < from.length; i++)
if (pi.getPlayer().getMapId() == from[i]) {
pi.warp(to[i][0], to[i][1]);
return true;
}
pi.warp(togo, 0);
return true;
}
function enter(pi) {
pi.cancelItem(2210016);
pi.warp(240000110, 2);
return true;
}
function enter(pi) {
pi.blockPortal();
return true;
}
public final void cancelItem(final int id) {
c.getPlayer().cancelEffect(MapleItemInformationProvider.getInstance().getItemEffect(id), false, -1);
}
Nice job I suppose :O. I needs to learn portal scripting
var from = [270010100, 270010200, 270010300, 270010400, 270010500, 270020100,
270020200, 270020300, 270020400, 270020500, 270030100, 270030200,
270030300, 270030400, 270030500, 270040000, 270040100];
var to = [[270010110, 3], [270010210, 3], [270010310, 3], [270010410, 3],
[270020000, 4], [270020110, 3], [270020210, 3], [270020310, 3],
[270020410, 3], [270030000, 4], [270030110, 3], [270030210, 3],
[270030310, 3], [270030410, 3], [270040000, 3], [270040100, 3],
[270050000, 0]];
function enter(pi) {
for (var i = 0; i < from.length; i++)
if (pi.getPlayer().getMapId() == from[i]) {
pi.warp(to[i][0], to[i][1]);
return true;
}
pi.warp(togo, 0);
return true;
}
So this is for GMS-Like?
I lol'd at 0:14. Kitty commits suicide ><Decide yourself.
You must be registered to see links
/* @author iPhoneSwag */
function start() {
cm.sendSimple("If you had wings, I'm sure you could go there. But, that alone won't be enough. If you want to fly though the wind that's sharper than a blade, you'll need tough scales as well. I'm the only Halfling left that knows the way back... If you want to go there, I can transform you. No matter what you are, for this moment, you will become a #bDragon#k...\r\n #L0##bI want to become a dragon.#k#l");
}
function action(m, t, s) {
if (m > 0) {
if (s == 0) {
cm.useItem(2210016);
cm.warp(200090500, 0);
cm.dispose();
}
}
cm.dispose();
}
function start() {
cm.sendSimple("If you had wings, I'm sure you could go there. But, that alone won't be enough. If you want to fly though the wind that's sharper than a blade, you'll need tough scales as well. I'm the only Halfling left that knows the way back... If you want to go there, I can transform you. No matter what you are, for this moment, you will become a #bDragon#k...\r\n #L0##bI want to become a dragon.#k#l");
}
function action(m, t, s) {
if (m > 0)
cm.useItem(2210016, 1);
cm.warp(200090500, 0);
cm.dispose();
}
[..]
Uhm.... no. o_oPHP:function start() { cm.sendSimple("If you had wings, I'm sure you could go there. But, that alone won't be enough. If you want to fly though the wind that's sharper than a blade, you'll need tough scales as well. I'm the only Halfling left that knows the way back... If you want to go there, I can transform you. No matter what you are, for this moment, you will become a #bDragon#k...\r\n #L0##bI want to become a dragon.#k#l"); } function action(m, t, s) { if (m > 0) cm.useItem(2210016, 1); cm.warp(200090500, 0); cm.dispose(); }
PHP:function start() { cm.sendSimple("If you had wings, I'm sure you could go there. But, that alone won't be enough. If you want to fly though the wind that's sharper than a blade, you'll need tough scales as well. I'm the only Halfling left that knows the way back... If you want to go there, I can transform you. No matter what you are, for this moment, you will become a #bDragon#k...\r\n #L0##bI want to become a dragon.#k#l"); } function action(m, t, s) { if (m > 0) cm.useItem(2210016, 1); cm.warp(200090500, 0); cm.dispose(); }
He's not getting angry. He's clearly explaining the obvious faults of the script. x) ( I didn't read the scripts , maybe he's right, maybe you are. lol)Lmao your code doesn't need the selection check since is only one selection, I didn't have time to test but you know what I was going forno need to get mad over missing brackets