ScarfaceMS
Please login or register to enjoy the full features and benefits of the forum. Also when you are logged in you will have reduced AD's and much more. So what are you waiting for! Not a member? Register now! Already a member? Just simply log in! Thank You Smile ~
-Tony And 2nd Owner Legend<3!
ScarfaceMS
Please login or register to enjoy the full features and benefits of the forum. Also when you are logged in you will have reduced AD's and much more. So what are you waiting for! Not a member? Register now! Already a member? Just simply log in! Thank You Smile ~
-Tony And 2nd Owner Legend<3!
ScarfaceMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ScarfaceMS

Maplestory v75 Private Server
 
HomePortalGalleryLatest imagesSearchRegisterLog in
Please vote for our server on all links inorder to have a better and bigger community!

 

 Multiple !jail commands.

Go down 
3 posters
AuthorMessage
KryptoDev
Newbie
Newbie
KryptoDev


Posts : 28
Join date : 2010-07-04

Multiple !jail commands. Empty
PostSubject: Multiple !jail commands.   Multiple !jail commands. EmptySun Jul 04, 2010 1:17 pm

Syntax: !jail <#>

This will warp the character to whatever jail # you choose.

Example: !jail 2 lynn82 will warp me to mapid 922020000.

else if (splitted[0].equals("!jail")) {
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[1]);
int mapid = 670010600;
if (splitted.length > 2 && splitted[1].equals("2")) {
mapid = 922020000;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("3")) {
mapid = 923010000;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("4")) {
mapid = 980000404;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("5")) {
mapid = 680000401;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("6")) {
mapid = 670010300;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("7")) {
mapid = 809050000;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("8")) {
mapid = 109060000;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("9")) {
mapid = 980000000;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("10")) {
mapid = 109040001;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (splitted.length > 2 && splitted[1].equals("11")) {
mapid = 925100700;
victim = cserv.getPlayerStorage().getCharacterByName(splitt ed[2]);
}
if (victim != null) {
MapleMap target = cserv.getMapFactory().getMap(mapid);
MaplePortal targetPortal = target.getPortal(0);
victim.changeMap(target, targetPortal);
mc.dropMessage(victim.getName() + " was jailed!");
} else {
mc.dropMessage(splitted[1] + " not found!");
}
}
Back to top Go down
thebloodz
Member +
Member +
thebloodz


Posts : 228
Join date : 2009-08-31
Age : 28
Location : Australia

Multiple !jail commands. Empty
PostSubject: Re: Multiple !jail commands.   Multiple !jail commands. EmptySun Jul 04, 2010 8:57 pm

GJ man. You covered all the other map transport glitches too. Smile
Good release.
Back to top Go down
http://www.scfms.tk
[GM]Pulse
Moderator
Moderator
[GM]Pulse


Posts : 79
Join date : 2010-07-01
Age : 30
Location : Boston

Multiple !jail commands. Empty
PostSubject: Re: Multiple !jail commands.   Multiple !jail commands. EmptyMon Jul 05, 2010 6:02 am

Nice Job
Back to top Go down
thebloodz
Member +
Member +
thebloodz


Posts : 228
Join date : 2009-08-31
Age : 28
Location : Australia

Multiple !jail commands. Empty
PostSubject: Re: Multiple !jail commands.   Multiple !jail commands. EmptyMon Jul 05, 2010 6:32 am

^ do you know whats going on? o_o or is it just a compliment... lol
Back to top Go down
http://www.scfms.tk
Sponsored content





Multiple !jail commands. Empty
PostSubject: Re: Multiple !jail commands.   Multiple !jail commands. Empty

Back to top Go down
 
Multiple !jail commands.
Back to top 
Page 1 of 1
 Similar topics
-
» Welcome to ScarfaceMS *Commands List*

Permissions in this forum:You cannot reply to topics in this forum
ScarfaceMS :: Extras :: Releases-
Jump to: