This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
######################################## | |
# WESTOR Module Manager # | |
# v4.0 - (01/08/2017) # | |
# Thanks Supporters # | |
######################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; --- Settings --- | |
alias -l badwords_chan { return #msl } | |
alias -l badwords_file { return badwords.db } | |
alias -l badwords_ban_time { return 3600 } | |
alias -l badwords_ban_type { return 2 } | |
alias -l badwords_ban_kick_message { return Do NOT use badwords here! } | |
; --- Settings --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ON *:START: { get_buildin } | |
ON *:SOCKOPEN:adiirc_buildin_identifiers: { | |
if ($sockerr) { echo 4 -at Error: Could not connect to the server to retrieve adiirc build-in identifiers list! | return } | |
sockwrite -nt $sockname GET /projects/adiirc/wiki/Scripting_Identifiers HTTP/1.1 | |
sockwrite -nt $sockname Host: $sock($sockname).addr | |
sockwrite -nt $sockname Connection: Close | |
sockwrite -nt $sockname $crlf | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; --- Settings --- | |
alias -l tagmsg_receive { return 1 } ; 1 = Will receive any +typing spec messages, use 0 to disable it. | |
alias -l tagmsg_share { return 1 } ; 1 = Will send +typing spec when you write something on editbox, 0 to disable it. | |
alias -l tagmsg_share_delay { return 3 } ; 3 = The seconds that client will send the typing share, default says it is 3, do not get lower than that it will be spammy. | |
alias -l tagmsg_position { return 5 } ; 5 = the position number , use 1 to be in 1st place top left on the statusbar or whatever number you want. | |
alias -l tagmsg_auto_done_secs { return 6 } ; 6 = the automatically typing=done seconds, spec says 6 is the correct here. | |
alias -l tagmsg_icon_file { return $envvar(windir) $+ \System32\comres.dll } ; = Use only DLL that includes icons. (example: shell32.dll), works only on Windows | |
alias -l tagmsg_icon_index { return 6 } ; = The $tagmsg_icon_file DLL index icon number, works only on Windows. | |
alias -l tagmsg_icon_size { return 2 } ; 1 = small, 2 = large, 3 = actual, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kiwi.plugin('nickserv_identify', function(kiwi, log) { | |
kiwi.on('irc.notice', function(event, network) { | |
if (event.nick.toLowerCase() !== 'nickserv') { return; } | |
var IsLogged = network.ircClient.user.modes.has('r'); | |
if (IsLogged) { return; } | |
var text = "nick pertenece a otra persona."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kiwi.plugin('invite_alert', function(kiwi, log) { | |
kiwi.on('irc.invite', (event, network) => { | |
if (document.visibilityState === "visible") { | |
var network = kiwi.state.getActiveNetwork(); | |
var nick = event.nick | |
var chan = event.channel | |
//var mychans = kiwi.state.getActiveNetwork().buffers.filter((b) => b.isChannel()).map((b) => b.name); | |
var ask = confirm('Hey! ' + nick + ' invites you to join on ' + chan + ' channel\n\nDo you wanna join??'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ON ^!*:JOIN:#: { | |
if (!$nick($chan,$me,@&~%)) && (o !isin $usermode) { return } | |
haltdef | |
set -l %hash_1 JCLONES_ $+ $chan | |
set -l %hash_2 JCLONESNICKS_ $+ $chan | |
set -l %nick_5chars $left($nick,5) | |
hinc -mu3 %hash_1 %nick_5chars 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ON *:TEXT:*:#: { | |
tokenize 32 $strip($1-) | |
var %hash = REPEATS_ $+ $chan | |
var %times = $hget(%hash,$nick $+ _TIMES) | |
var %last_msg = $hget(%hash,$nick $+ _LAST_MSG) | |
var %md5 = $md5($1-,0) | |
if (!%last_msg) { hadd -m %hash $nick $+ _LAST_MSG %md5 | hinc -u3 %hash $nick $+ _TIMES 1 | return } | |
if (%last_msg !== %md5) { hadd -m %hash $nick $+ _LAST_MSG %md5 | hadd -u3 %hash $nick $+ _TIMES 1 | return } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ON *:INPUT:#: { | |
if (!$inpaste) && (!$ctrlenter) && ($comchar !== $left($1,1)) { | |
.msg $chan $1- | |
echo -t $chan < $+ $col_prefix($nick($chan,$me).cmode) $+ $me $+ >: $1- | |
halt | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "unrealircd.h" | |
#define MSG_SNOTICE "SNOTICE" | |
CMD_FUNC(cmd_snotice); | |
ModuleHeader MOD_HEADER | |
= { | |
"third/snotice", | |
"1.0", |
OlderNewer