[release][odinms] !getname
If an player reports an user u only see the id so i made !getname [characterid]
just paste this in commandproccessor.java:
Code:
else if (splitted[0].equals("!getname")) {
int name = Integer.parseInt(splitted[1]);
MapleCharacter victim = cserv.getPlayerStorage().getCharacterById(name);
mc.dropMessage("The person your looking for = " + victim.getName());
}
I can make more commands just give me idias :P
Re: [release][odinms] !getname
lol this command already exists....
its called !getnamebyid...
Re: [release][odinms] !getname
Quote:
Originally Posted by
rroobbiinn
If an player reports an user u only see the id so i made !getname [characterid]
just paste this in commandproccessor.java:
Code:
else if (splitted[0].equals("!getname")) {
int name = Integer.parseInt(splitted[1]);
MapleCharacter victim = cserv.getPlayerStorage().getCharacterById(name);
mc.dropMessage("The person your looking for = " + victim.getName());
}
if you have the report system you can use !getnamebyid
Re: [release][odinms] !getname
Re: [release][odinms] !getname
Cant someone edit the report system so it says the name instead of the char id >.>
Re: [release][odinms] !getname
this has been released 0.o
Re: [release][odinms] !getname
Quote:
Originally Posted by
Roamer
Cant someone edit the report system so it says the name instead of the char id >.>
........
Re: [release][odinms] !getname
Quote:
Originally Posted by
Roamer
Cant someone edit the report system so it says the name instead of the char id >.>
I did that to mine, not really that hard... Just changed like 3 lines of code.
Re: [release][odinms] !getname
can you make a command to open a npc? for example a npc quest or npc maxskiller?
Thanks
Re: [release][odinms] !getname
Quote:
Originally Posted by
urtime59
lol this command already exists....
its called !getnamebyid...
!listreports (get the report id)
!getreport <reportid>
that'll show it all
Re: [release][odinms] !getname
Quote:
Originally Posted by
Roamer
Cant someone edit the report system so it says the name instead of the char id >.>
Thats not hard, it is literally 1 more line of code than usual and a change to another..