Hey guys and girls,
AskethZ here, as you probably now there is a similar thread, yet the thread starter does not post anything. So here is mine, I will post quick, if I'm able to make it.
Little things:
Mercury only,
this might sound weird but: I cant make everything. This means that if you want a command that makes you become a pet for instance, I'm not capable (yet) for such things. But I will be in the future.
I do this for fun, and for training. Do not blame me if the code can not be done, once again, I am relatively new to C#.
Thanks,
so now that's done, how do I request a command?
Simple, place a comment with this:
:commandname
what does it exactly do
min rank
Loves,
AskethZ aka Weed
Oh yeah I made some fun commands, here is :car (makes you ride a car and enables fastwalk .
AskethZ here, as you probably now there is a similar thread, yet the thread starter does not post anything. So here is mine, I will post quick, if I'm able to make it.
Little things:
Mercury only,
this might sound weird but: I cant make everything. This means that if you want a command that makes you become a pet for instance, I'm not capable (yet) for such things. But I will be in the future.
I do this for fun, and for training. Do not blame me if the code can not be done, once again, I am relatively new to C#.
Thanks,
so now that's done, how do I request a command?
Simple, place a comment with this:
:commandname
what does it exactly do
min rank
Loves,
AskethZ aka Weed
Oh yeah I made some fun commands, here is :car (makes you ride a car and enables fastwalk .
Code:
case "auto":
case "car":
{
if (!this.Session.GetHabbo().VIP)
{
this.Session.SendWhisper("Dit is voor VIPs");
return true;
}
else
{
if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect != 12)
{
if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect != 69)
{
RoomUser racer = MercuryEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId).GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
racer.ApplyEffect(69);
racer.FastWalking = true;
racer.Chat(racer.GetClient(), "* Start motor van auto op. broembroem *", false, 0, 2);
return true;
}
if (this.Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect == 12)
{
this.Session.SendWhisper("Dit kan niet terwijl je bevroren bent");
return true;
}
else
{
RoomUser racer = MercuryEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId).GetRoomUserManager().GetRoomUserByHabbo(this.Session.GetHabbo().Id);
racer.ApplyEffect(0);
racer.FastWalking = false;
racer.Chat(racer.GetClient(), "* Zet motor van auto uit. *", false, 0, 2);
return true;
}
}
else
{
this.Session.SendWhisper("Dit kan niet terwijl je bevroren bent");
return true;
}
}
}