Skip to content

Instantly share code, notes, and snippets.

View westor7's full-sized avatar
🏠
Working from home

westor westor7

🏠
Working from home
View GitHub Profile
@westor7
westor7 / json_install.mrc
Last active April 18, 2023 14:15
JSON Installation
; Usage: Right click in "Status" window or click in "Menubar" then click on "JSON Installation" and follow the instructions.
menu status,menubar {
$str($chr(9679),3) JSON Installation (by westor) $str($chr(9679),3): { json_install_check_internet_init }
}
alias -l json_install_check_internet_init { noop $urlget(https://api.github.com,gbik,&data,json_install_check_internet_init_cb) }
alias -l json_install_check_internet_init_cb {
if ($urlget($1).state !== ok) { .timer -ho 1 0 noop $input(You are NOT connected to internet! $crlf $crlf $+ $+ Installation failed.,houdbk60,JSON Installation - Error) | return }
@westor7
westor7 / ip_proxy_scan.mrc
Last active May 28, 2023 17:59
IP Proxy Scan On Join for HelpMe
alias -l channels { return #freeirc,#irccloud,#diaspora } ; Place the channels here (use comma to add more).
alias -l api_key { return A2chYE3RMNd737Sr3uWMh1xON1AlauuBSKiGPVNp1F453Zwqsi } ; Register on https://isproxyip.com/ to get an free API key.
alias -l ban_time { return 3600 } ; Enter ban time value in seconds only.
alias -l ban_type { return 2 } ; Enter the ban type to ban (/help $mask).
alias -l ban_reason { return [Banned]: Open Proxy founded for your IP address! } ; Enter here the ban reason (extra identifiers: $1 for nickname, $2 for #channel, $3 for IP).
ON !*:JOIN:$($channels): {
if ($me !isop $chan) { return }
var %host = $ial($nick).host
@westor7
westor7 / country_scan.mrc
Created May 2, 2023 15:29
Country Scan On Join for HelpMe
; ---- Settings ----
alias -l channel { return #test_channel } ; Channels to work (add more using comma)
alias -l ban_delay { return 3600 } ; Seconds for ban on /ban
alias -l ban_mask { return 2 } ; Ban mask (/help $mask)
alias -l ip_exception { return 1.55.219.132 1.55.219.133 } ; Enter here ip exceptions from scan (space separated)
alias -l country_exception { return GR } ; Enter here countries to not perform a ban-kick (space separated)
; ---- Settings ----