At your request in personal correspondence made several changes and improvements in the script. Please tested the script before using it.Allow Chars v1.1 – updates
Now instead of setting through an alias "allowchars_set
" you can customize the script through the channel Menu
or the bar Menu
, by right-clicking. (All missing variables will be set by default). 2.
Now messages will be checked through regular expressions, instead of loops (while), which in the past could lead to a slowdown in the script with a large number of messages. (Thanks "maroon
Now in the variable "%ach_btype
" you can specify several values of the ban type at once separated by commas (to install several bans at once on the intruder) or leave only one number. Default: <2,3>
Now instead of the variable "%ach_characters
" will be used the variable "%ach_charfile
" to specify the full path to the text file, where you can write all the characters allowed. (Within reasonable limits).
An example of how can be filled the file "allowchars.txt
" which was specified in the variable "%ach_charfile
Click on the button to reveal the spoiler. This code must be inserted into the scripts editor. To do this, press the key combination "ALT+R
" and replace with this code the old code, then save it under the name "AllowChars.mrc
Remember that if something went wrong, or you accidentally erased something, then you can always reinstall this script again.
If you find any errors in the code and in its work, or maybe you have new ideas or if you think that this script needs to be improved, then be sure to write to me here about it, and we are together think about what we can do.