Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addCommandHandler("Clear",
- function(theSource)
- local account=getAccountName(getPlayerAccount(source))
- if(isObjectInACLGroup("user."..account,aclGetGroup("Admin")))then
- for i=0,100 do outputChatBox("") end
- outputChatBox(getPlayerName(theSource).." has cleared the chat box")
- end
- end)
Add Comment
Please, Sign In to add comment