Small change to imbusy messages

This commit is contained in:
Dico200
2016-05-25 03:00:35 +02:00
parent fca3cf250c
commit 8165d5977b

View File

@@ -54,14 +54,14 @@ def on_busy_command(sender, cmd, label, args):
return True
busy_players.append(sender.getName())
plugin_header(recipient = sender, name = "I'M BUSY!")
broadcast(None, "%s is now SUPER busy! Don't even TRY bothering them, it will not work!" % sender.getName())
broadcast(None, "&c[&2Busy&c] &fNow busy: %s&f, don't even TRY bothering them!" % sender.getDisplayName())
return True
elif args[0] == "off":
plugin_header(recipient = sender, name = "I'M BUSY!")
try:
busy_players.remove(sender.getName())
msg(sender, "Master has sent /busy command, %s is freeee!" % sender.getName())
msg(sender, "Master has sent /busy command, %s&f is freeee of bothering!" % sender.getDisplayName())
return True
except ValueError:
msg(sender, "You are not busy! You cannot be even less busy! Are you perhaps bored?")