Guest User

Untitled

a guest
Dec 17th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. addCommandHandler("Clear",
  2. function(theSource)
  3.     local account=getAccountName(getPlayerAccount(source))
  4.     if(isObjectInACLGroup("user."..account,aclGetGroup("Admin")))then
  5.         for i=0,100 do outputChatBox("") end
  6.         outputChatBox(getPlayerName(theSource).." has cleared the chat box")
  7.     end
  8. end)
Add Comment
Please, Sign In to add comment