Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _find = ['hippo','backdoor','rust','whippy'];
- waitUntil {
- _uiNamespace_dynamicText = uiNamespace getVariable 'BIS_dynamicText';
- if(!isNil '_uiNamespace_dynamicText')then
- {
- _display = _uiNamespace_dynamicText;
- if(str _display != 'No Display') then
- {
- _ctrl = _display displayCtrl 9999;
- _txt = ctrlText _ctrl;
- if(_txt != '')then
- {
- if!(_txt in "+_badtxts+") then
- {
- "+_badtxts+" = "+_badtxts+" + [_txt];
- {
- _found = [_x,_txt] call _fnc_inString;
- if(_found) then
- {
- _log = format['BadText 1: [%1] found in [%2] (JUST LOGGING - NO KICK OR BAN)',_x,_txt];
- [name player,getPlayerUID player,'SLOG_EC',toArray(_log)] call "+_randvar37+";
- };
- } forEach _find;
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement