Skip to content

Instantly share code, notes, and snippets.

@jcanfield
Last active July 28, 2026 22:59
Show Gist options
  • Select an option

  • Save jcanfield/df84a4970a08b1c7bb114f859df155c2 to your computer and use it in GitHub Desktop.

Select an option

Save jcanfield/df84a4970a08b1c7bb114f859df155c2 to your computer and use it in GitHub Desktop.
mIRC Identification Script (by Gekkie)
; Auto-login and Highlight script
; by Gekkie (revisions by dev_zero)
; Copy into Remotes (Alt+R)
on *:START:{
if (!$hget(ns_secure)) hmake ns_secure 10
}
alias ns.setpass {
var %p = $input(Enter your NickServ password:, p, NickServ Password)
if (!%p) {
echo -a *** Password setup cancelled.
return
}
if (!$hget(ns_secure)) hmake ns_secure 10
hadd -m ns_secure pass $encode(%p,m)
unset %p
echo -a *** NickServ password saved for this session.
}
alias ns.clearpass {
if ($hget(ns_secure,pass)) hdel ns_secure pass
echo -a *** Stored NickServ password cleared.
}
alias ns.identify {
if (!$hget(ns_secure,pass)) {
echo -a *** No password stored. Use /ns.setpass first.
return
}
var %pass = $decode($hget(ns_secure,pass),m)
msg NickServ IDENTIFY %pass
unset %pass
echo -a *** NickServ IDENTIFY sent.
}
alias ns {
ns.identify
}
on *:CONNECT:{
if ($network == YourNetworkName) {
.timerNSIdentify 1 4 ns.identify
}
}
menu status,menubar,channel,nicklist {
NickServ
.Set Password: ns.setpass
.Identify Now: ns.identify
.Clear Password: ns.clearpass
}
on *:TEXT:*:#:{
if ($nick == $me) return
if ($me isin $strip($1-)) {
flash
echo -a 4[HIGHLIGHT] 12 $+ $chan $+  - 5 $+ $nick $+ : $1-
}
}
; Auto-login and Highlight script
; by Gekkie (revisions by dev_zero)
; Copy into Remotes (Alt+R)
on *:START:{
if (!$hget(ns_secure)) hmake ns_secure 10
}
alias ns.setpass {
var %p = $input(Enter your NickServ password:, p, NickServ Password)
if (!%p) {
echo -a *** Password setup cancelled.
return
}
if (!$hget(ns_secure)) hmake ns_secure 10
hadd -m ns_secure pass $encode(%p,m)
unset %p
echo -a *** NickServ password saved for this session.
}
alias ns.clearpass {
if ($hget(ns_secure,pass)) hdel ns_secure pass
echo -a *** Stored NickServ password cleared.
}
alias ns.identify {
if (!$hget(ns_secure,pass)) {
echo -a *** No password stored. Use /ns.setpass first.
return
}
var %pass = $decode($hget(ns_secure,pass),m)
msg NickServ IDENTIFY %pass
unset %pass
echo -a *** NickServ IDENTIFY sent.
}
alias ns {
ns.identify
}
on *:CONNECT:{
if ($network == YourNetworkName) {
.timerNSIdentify 1 4 ns.identify
}
}
menu status,menubar,channel,nicklist {
NickServ
.Set Password: ns.setpass
.Identify Now: ns.identify
.Clear Password: ns.clearpass
}
on *:TEXT:*:#:{
if ($nick == $me) return
if ($me isin $strip($1-)) {
flash
echo -a *** HIGHLIGHT: $chan < $+ $nick $+ > $1-
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment