Self-Explanatory.
Makeout with another user;
/makeout <playername>
Or with everybody
/makeout frenzy
I hope you can complete this request, as most of my server members want something like this
~M_____S
using System;
namespace MCDzienny
{
public class CmdMakeout : Command
{
public override string name { get { return "makeout"; } }
public override string shortcut { get { return "mo"; } }
public override string type { get { return "other"; } }
public override bool museumUsable { get { return false; } }
public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
public CmdMakeout() { }
public override void Use(Player p, string message)
{
Player who = Player.Find(message);
if (who == null) Player.GlobalMessage(p.prefix + p.color + p.name + ": %fIm making out with myself ._. anyone join?");
else
Player.GlobalMessage(who.color + who.name + " %eIs making out with"+ " " +p.color+ p.prefix + p.color + p.name);
}
public override void Help(Player p)
{
Player.SendMessage(p, "/makeout: Makeout with yourself");
Player.SendMessage(p, "/makeout [name]: Makeout with others");
}
}
}
ismellike wrote:hah I got a makeout command, but its not exactly /makeout frenzy like that
- Code: Select all
using System;
namespace MCDzienny
{
public class CmdMakeout : Command
{
public override string name { get { return "makeout"; } }
public override string shortcut { get { return "mo"; } }
public override string type { get { return "other"; } }
public override bool museumUsable { get { return false; } }
public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
public CmdMakeout() { }
public override void Use(Player p, string message)
{
Player who = Player.Find(message);
if (who == null) Player.GlobalMessage(p.prefix + p.color + p.name + ": %fIm making out with myself ._. anyone join?");
else
Player.GlobalMessage(who.color + who.name + " %eIs making out with"+ " " +p.color+ p.prefix + p.color + p.name);
}
public override void Help(Player p)
{
Player.SendMessage(p, "/makeout: Makeout with yourself");
Player.SendMessage(p, "/makeout [name]: Makeout with others");
}
}
}
M_____S wrote:ismellike wrote:hah I got a makeout command, but its not exactly /makeout frenzy like that
- Code: Select all
using System;
namespace MCDzienny
{
public class CmdMakeout : Command
{
public override string name { get { return "makeout"; } }
public override string shortcut { get { return "mo"; } }
public override string type { get { return "other"; } }
public override bool museumUsable { get { return false; } }
public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
public CmdMakeout() { }
public override void Use(Player p, string message)
{
Player who = Player.Find(message);
if (who == null) Player.GlobalMessage(p.prefix + p.color + p.name + ": %fIm making out with myself ._. anyone join?");
else
Player.GlobalMessage(who.color + who.name + " %eIs making out with"+ " " +p.color+ p.prefix + p.color + p.name);
}
public override void Help(Player p)
{
Player.SendMessage(p, "/makeout: Makeout with yourself");
Player.SendMessage(p, "/makeout [name]: Makeout with others");
}
}
}
Or that works too. Thanks ismellike!
if (who == null)
if (who == null || who.hidden)
Users browsing this forum: No registered users and 2 guests