Advertisement
Guest User

AH

a guest
Aug 24th, 2015
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. _find = ['hippo','backdoor','rust','whippy'];
  2. waitUntil {
  3. _uiNamespace_dynamicText = uiNamespace getVariable 'BIS_dynamicText';
  4. if(!isNil '_uiNamespace_dynamicText')then
  5. {
  6. _display = _uiNamespace_dynamicText;
  7. if(str _display != 'No Display') then
  8. {
  9. _ctrl = _display displayCtrl 9999;
  10. _txt = ctrlText _ctrl;
  11. if(_txt != '')then
  12. {
  13. if!(_txt in "+_badtxts+") then
  14. {
  15. "+_badtxts+" = "+_badtxts+" + [_txt];
  16. {
  17. _found = [_x,_txt] call _fnc_inString;
  18. if(_found) then
  19. {
  20. _log = format['BadText 1: [%1] found in [%2] (JUST LOGGING - NO KICK OR BAN)',_x,_txt];
  21. [name player,getPlayerUID player,'SLOG_EC',toArray(_log)] call "+_randvar37+";
  22. };
  23. } forEach _find;
  24. };
  25. };
  26. };
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement