TheNinth

this works, right?

Jul 20th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. @command
  2. @admin
  3. def banid(script, entity_id, *args):
  4.     player = get_player(script.server, entity_id)
  5.     reason = ' '.join(args) or DEFAULT_REASON
  6.     script.parent.ban(player.address.host, reason)
Advertisement
Add Comment
Please, Sign In to add comment