PowerPuffGold.2000 — File Browser
PowerPuffGold.2000v2.0 / PowerPuffGold.2000v2.0 / PowerPuffGold2000 / remotes / helper.mrc
helper.mrc — 15.71 KB — Download this file
on 1:load: {
.load -rs " $+ $scriptdirhelper-control.mrc $+ "
.load -rs " $+ $scriptdirhelper-b.mrc $+ "
helper-dalload
helper-starload
helper-sorceryload
.enable #help-csop
helpnick
motd services.*
set %help.enable Off
set %help.auto On
echo 4 -a *** Hëlpër.m®¢ v4.0 loaded. For help with this script, go to #mIRCHelp on DALnet.
echo 12 -a *** Use the Control Center popups to change the settings and add new channels.
memoserv send Flashback loaded Hëlpër.m®¢ 4.0 at $fulldate
echo 12 -a *** Memo sent to Flashback. You have been added to the list of people using Hëlpër.m®¢. For update info, check the topic in #helper.mrc
}
on 1:connect: {
if (dal.net isin $server) { .enable #help-csop | motd services.* }
}
on 1:disconnect:/.disable #help-csop
#Help-CSop off
raw 375:*: { unset %help.csop* | halt }
raw 372:*These people can help* {
if $nick = services.dal.net {
.enable #Help-CSop-Upd
.disable #help-csop
halt
}
}
raw 372:*: halt
raw 376:* {
.disable #Help-CSop
halt
}
#Help-CSop end
#Help-CSop-Upd off
raw 372:*Watch this space* {
if $nick = services.dal.net {
.disable #Help-CSop-Upd
.enable #help-csop-end
halt
}
}
raw 372:*: {
inc %help.csop.count 1
if (%help.csop.count < 12) { set %help.csop1 %help.csop1 $3- | halt }
if (%help.csop.count < 20) && (%help.csop.count > 11) { set %help.csop2 %help.csop2 $3- | halt }
if (%help.csop.count > 19) { set %help.csop3 %help.csop3 $3- | halt }
}
#Help-CSop-Upd end
#help-csop-end off
raw 372:*: halt
raw 376:*: { .disable #help-csop-end | unset %help.csop.count | echo 12 -s *** CSop Update Completed | halt }
#help-csop-end end
alias helperad {
me is using Hëlpër.m®¢ v4.0, Created by Flashback and the DALnet Help Crew in #mIRCHelp. To get a copy, ask for it and I'll send it to you.
}
alias help-c {
if (= isin $active) {
say %help.left $+ $mid($active,2,100) $+ %help.right $+ - $1-
goto end
}
if (# !isin $active) {
say %help.left $+ $active $+ %help.right $+ - $1-
goto end
}
if (%help.enable == On) && ($active isin %help.public) { say $snicks - $1- | goto end }
if ($active isin %help.private) { .notice $snicks $helpnick $1- | msg # Help sent to $snicks | goto end }
if ($active isin %help.public) { say $helpnick $1- | goto end }
if ($active !isin %help.public) && ($active !isin %help.private) { say $helpnick $1- | goto end }
else { echo 12 -a *** You failed to enter or mis-spelled your entry of whether you wanted private or public messages. Please use the settings option in the popups and fix this. }
:end
}
#helper-ping off
;on 1:text:* ping me*:#: {
; .enable #help-reply
; .ctcp $nick ping
;}
;on 1:text:ping m*:#: {
; .enable #help-reply
; .ctcp $nick ping
;}
;on 1:text:ping pl*:#: {
; .enable #help-reply
; .ctcp $nick ping
;}
;on 1:text:* ping pl*:#: {
; .enable #help-reply
; .ctcp $nick ping
;}
;on 1:text:!ping *:#: {
; .enable #help-reply
; .ctcp $nick ping
;}
#helper-ping end
;ctcp 1:settings:*:/notice $nick I am using Hëlpër.m®¢ v4.0. Private Channels: %help.private $+ Public Channels: %help.public $+ Active window is $+ $active $+ .
#help-reply off
;on 1:ctcpreply:PING*: {
; %pt = $ctime - $2
; .notice $nick Your Ping Reply is $duration(%pt) 1Hëlpër.m®¢
; .disable #help-reply
;}
#help-reply end
#help-services off
on 1:ctcpreply:PING*: {
%pt = $ctime - $2
if ($nick == Nickserv) {
if (%pt <= 10) { msg %help.services %help.left $+ Services Status $+ %help.right - 3Online | goto end }
if (%pt >= 10) { msg %help.services %help.left $+ Services Status $+ %help.right - 4Lagged %pt seconds | goto end }
:end
.disable #help-services
unset %help.services
}
}
raw 401:* {
if ($2 == Nickserv) { msg %help.services %help.left $+ Services Status $+ %help.right - Offline | .disable #help-services | halt }
}
#help-services end
#help-trojan-scan off
on +1:join:#: {
if (typehere isin $left($address($nick,3),$pos($address($nick,3),@,1))) || (2 isin $left($address($nick,3),$pos($address($nick,3),@,1))) { .timertrojan 1 5 /unset %help.trojan.scan | .enable #help-trojan-scan | set %help.trojan.scan $nick }
if ($chan isin %help.private) && ($nick == $me) { echo 12 $chan *** $chan is set for %help.left $+ Private $+ %help.right messages. | updateial | halt }
if ($chan isin %help.public) && ($nick == $me) { echo 12 $chan *** $chan is set for %help.left $+ Public $+ %help.right messages. | updateial | halt }
if (%help.greet != $null) && (help isin $chan) { .notice $nick %help.greet }
}
on 1:part:#: {
if ($nick == %help.trojan.scan) { .notice $nick You may have a DM2 type bug. If you think this is correct, type /join #NoHack. | echo 1 -a %help.left $+ $nick $+ %help.right May be sending a DM2 type bug, removal information sent | .disable #help-trojan-scan }
}
#help-trojan-scan end
alias ops { notice @ $+ # (Hëlpër.m®¢ Ops Chat) $$1- }
alias vo {
%ops = 0
:nextnick
inc %ops
if $nick(#,%ops) == $me { goto nextnick }
if $nick(#,%ops) == $null { goto lastnick }
if ($nick(#,%ops) isvo #) { /.notice $nick(#,%ops) 5[1Hëlpër.m®¢ Voice Chat5]1 # *1 }
goto nextnick
:lastnick
echo 12 -a 4* 5[1Hëlpër.m®¢ Voice Chat5]1 *1
unset %ops
}
alias oo {
notice @+ $+ # (Hëlpër.m®¢ Ops/Voice) $$1-
}
alias f6 snicks $$?="Enter message to $snicks $+ "
alias snicks {
unset %snick
%snick = $snicks($active,0)
%snick2.num = $snick($active,0)
%snick2 = 0
:nextnick
inc %snick2 1
if $snick(#,%snick2) == $null { goto lastnick }
{ /.notice $snick(#,%snick2) 8,1Direct1,0 - *1 }
goto nextnick
:lastnick
echo 2 -a *** 1[12 $+ $snicks $+ 1,0] - *1
unset %snick2*
}
alias ask {
say Welcome to # $+ ! Please ask your questions in the channel and someone will be there to assist you as soon as possible.
}
alias pager {
if (%away.num == $null) {
set %away.msg $$?="Enter away Message"
away %away.msg Type: 12/ctcp $me page <message>. to leave a message.
ame is away, reason 1" $+ %away.msg $+ " Pager is [ON] Msg Log [ON] 2Type 4/ctcp $me $+ -Away page <message>2 to leave a message.
set %away.nick $me
set %msg.m 0 | set %msg.p 0
nick %away.nick $+ -Away
.timerpager 0 1 /inc %away.time 1
set %away.num 1
.enable #pager
window -ane @pager
titlebar @pager Hëlpër.m®¢ Pager System
echo 1 -a Away enabled
halt
}
if (%away.num == 1) {
away
echo 1 -a Away Disabled
nick %away.nick
.timerpager off
ame has returned. 4Gone for: 12[ $+ $duration(%away.time) $+ ]
unset %away*
.disable #pager
goto pager
halt
}
else {
echo 4 -a There is an error in your alias script.
halt
}
:pager {
if (%msgs.p == $null) && (%msgs.m == $null) { echo 12 -a You have no messages. | window -c @pager | halt }
echo 12 -a You have %msgs.m messages, and have been paged %msgs.p times.
unset %msgs.*
}
}
#pager off
ctcp 1:page:*:{
inc %msgs.p 1
beep 3 5
echo 4 @pager %msgs.p $+ ) 1[ $+ $time $+ ] $nick $+ : $2-
}
on 1:text:*:?: {
echo 5 @pager * $+ $nick $+ * $1-
notice $nick I'm away, Reason: %away.msg
inc %msgs.m
}
on 1:notice:*:*: {
if ($nick == Nickserv) || ($nick == Chanserv) || ($nick == Memoserv) { halt }
else {
echo 5 @pager - $+ $nick $+ - $1-
inc %msgs.m
}
}
#pager end
#dns-lookup off
on 1:DNS: {
set %help.ip.scan 1 2 3 4 5 6 7 8 9 0
set %help.ip $raddress
if ($right($raddress,1) isin %help.ip.scan) { msg $active %help.left $+ %help $+ %help.right $+ - Try this, type /quit then press alt+e and go to local info, Clear the text in the top two boxes. In the box marked IP address put2 %help.ip $+ Put a checkmark by get ip address and get local host, Select normal as method. then reconnect. | goto end }
else { msg $active %help.left $+ %help $+ %help.right $+ - To fix DCC send/chat problems first type /quit then press alt+e and go to local info, Clear the text in the top two boxes. Put a checkmark by get ip address and get local host, Select normal as method. then reconnect. | goto end }
:end
unset %help.i*
.disable #dns-lookup
halt
}
#dns-lookup end
#banscan off
raw 367:* {
if ($3 iswm $address(%help.ban,0)) { echo 4 -a $4 banned %help.ban from $2 using the mask $3 | halt }
else { halt }
}
raw 368:* {
unset %help.ban
.disable #banscan
echo 3 -a *** End of ban scan.
halt
}
#banscan end
#awayscan off
raw 352:* {
if ($right($6,4) == serv) { halt }
if ($right($6,4) == away) { halt }
if (H isin $parm7) && (* isin $parm7) { inc %foundhere | /set %available %available $6 | halt }
else { halt }
}
raw 315:* {
msg %found.chan %help.left $+ IRCops Available $+ %help.right $+ : %available
unset %found*
unset %available
.disable #awayscan
}
#awayscan end
#mask-lookup off
raw 352:* {
msg $active %help.left $+ $6 $+ %help.right $+ - A mask is a form of identification, in the form of Nickname!UserID@host.domain. Your current mask is $6 $+ ! $+ $3 $+ @ $+ $4 $+ Use wildards to replace values. ie4 $address($6,3)
halt
}
raw 315:* {
.disable #mask-lookup
halt
}
#mask-lookup end
#anti-script off
ctcp 1:dcc send links.vbs:*: {
.notice $nick You are sending links.vbs. Please type 4/remote off. This will temporarily turn off your remote events. The go to #NoHack for help in removing the virus. For more information about links.vbs, check out http://www.irchelp.org/irchelp/security/trojan.html
echo $active %help.left $+ $nick $+ %help.right is sending script.ini. Removal info sent.
halt
}
on 1:ctcpreply:ping*: {
if (quit isin $2) { echo 12 -a *** %help.left $+ $nick $+ %help.right is trying to use the CTCP Exploit on you. | haltdef }
}
ctcp 1:DCC RESUME:/if ($4 == $null) { echo 12 -sa *** %help.left $+ $nick $+ %help.right is trying to DCC nuke you! | halt }
#anti-script end
#csop-scan off
raw 352:* {
if (H isin $parm7) {
if ($6 == pt) { halt }
if ($6 isin %help.csop1) || ($6 isin %help.csop2) || ($6 isin %help.csop3) {
if (* == $2) { set %help.csop.found %help.csop.found $6 4is not on any channels, | halt }
else { set %help.csop.found %help.csop.found $6 is on 4 $+ $2 $+ , | halt }
}
else { halt }
}
halt
}
raw 315:* {
if (%help.csop.found == $null) { msg %found.chan No CSops Available at this time. }
if (%help.csop.found != $null) { msg %found.chan %help.left $+ CSops Available $+ %help.right $+ : %help.csop.found }
unset %help.csop.*
.disable #csop-scan
halt
}
#csop-scan end
alias wmodes {
set %help.mode $$?="Enter modes (Be careful how you enter it)"
if (%help.mode == $null) { unset %help.modes | halt }
if (R isincs %help.mode) { set %help.modes %help.modes 4R=Only nicks with registered names can enter }
if (r isincs %help.mode) { set %help.modes %help.modes 4r=Registered channel }
if (s isin %help.mode) { set %help.modes %help.modes 4s=Secret (This makes the channel invisible to /list) }
if (t isin %help.mode) { set %help.modes %help.modes 4t=Only ops can change the topic. }
if (l isin %help.mode) { set %help.modes %help.modes 4l=Limit to a certain number of users }
if (n isin %help.mode) { set %help.modes %help.modes 4n=No external messages }
if (p isin %help.mode) { set %help.modes %help.modes 4p=Private (Similar to Secret) }
if (m isin %help.mode) { set %help.modes %help.modes 4m=Moderated (Only ops/voices can talk in the channel) }
if (k isin %help.mode) { set %help.modes %help.modes 4k=Key (basically a password to enter the channel) }
if (i isin %help.mode) { set %help.modes %help.modes 4i=Invite only }
:end
help-c ± $+ %help.mode $+ 12: %help.modes
unset %help.mode*
}
on 1:FILESENT:helper.zip:/notice $nick Unzip helper.zip into your mIRC directory and load helper.mrc it will do the rest.
alias askme {
me would like to welcome everyone to # $+ ! Please ask your questions in the channel and I'll be there to assist you as soon as possible.
}
#helper on
on 1:input:#: {
if ($left($1,1) == /) { goto end }
set %url.real $2-
set %url.stop $count($2-,$chr(32))
set %url.inc 1
:start
inc %url.inc 1
if ([ $ $+ [ %url.inc ] ] == $null) { goto next }
if (http: isin [ $ $+ [ %url.inc ] ]) { set %url.bold [ $+ [ $ $+ [ %url.inc ] ] $+ ] | set %url.norm [ $ $+ [ %url.inc ] ] | set %url.real $replace($2-,%url.norm,%url.bold) | goto start }
if (www isin [ $ $+ [ %url.inc ] ]) { set %url.bold [ $+ [ $ $+ [ %url.inc ] ] $+ ] | set %url.norm [ $ $+ [ %url.inc ] ] | set %url.real $replace($2-,%url.norm,%url.bold) | goto start }
if (members. isin [ $ $+ [ %url.inc ] ]) { set %url.bold [ $+ [ $ $+ [ %url.inc ] ] $+ ] | set %url.norm [ $ $+ [ %url.inc ] ] | set %url.real $replace($2-,%url.norm,%url.bold) | goto start }
else { goto start }
:next
if ($right($$1,1) == :) {
set %help $remove($1,:)
if ($active isin %help.private) && (%help ison $active) { say %help - %url.real | unset %url.* | halt }
if ($2 == $null) { goto end }
if (%help ison $active) && ($active isin %help.public) {
say %help.left $+ %help $+ %help.right $+ - %url.real
unset %url.*
unset %help
halt
}
}
:end {
unset %url.*
unset %help
}
}
#helper end
alias helpnick {
%helpnick = %help.left $+ $snicks $+ %help.right -
.timerhelper 1 1 /unset %helpnick
return %helpnick
}
alias help-clone {
updateial
set %help.clone.scan 0
set %help.clone.end $nick(#,0)
set %help.clone.pref $$?!="Show clone scan to everyone in $active $+ ?"
if (%help.clone.pref == $false) { set %help.clone.pref echo 1 -a *** | goto start }
if (%help.clone.pref == $true) { set %help.clone.pref msg $active | goto start }
:start
inc %help.clone.scan 1
if (%help.clone.scan == %help.clone.end) {
if (%help.clone.found == $null) { %help.clone.pref No Clones Found in # $+ . | unset %help.clone.* | halt }
if (%help.clone.found != $null) { %help.clone.pref %help.left $+ Number of Clones found: $+ $help.right %help.clone.found $+ %help.right | unset %help.clone.* | halt }
}
if ($ialchan($address($nick(#,%help.clone.scan),2),#,0) == 1) { goto start }
if ($ialchan($address($nick(#,%help.clone.scan),2),#,0) > 1) {
if ($address($nick(#,%help.clone.scan),2) iswm %help.clone.used) { goto start }
else { %help.clone.pref 4 $+ $ialchan($address($nick(#,%help.clone.scan),2),#,1).nick $+ & 12 $+ $ialchan($address($nick(#,%help.clone.scan),2),#,2).nick $+ are clones. | set %help.clone.used $address($nick(#,%help.clone.scan),2) | inc %help.clone.found 1 | goto start }
}
}
alias updateial {
.ial on
.enable #help-who
.who #
}
#help-who off
raw 352:* { halt }
raw 315:* { .disable #help-who | halt }
#help-who end
alias dmhelp {
.notice $$1 You may have a DM2 type bug, type /remote off then go to #NoHack. The script keeps you from going into most help channels so you need to turn your remote events off to get help. | echo 12 -a Info sent to $$1
}
alias helper-dalload {
set %helper.dal.load $$?!="Load DALnet Services Popups?"
if (%helper.dal.load == $true) { .load -rs $scriptdirhelper-dal.mrc | echo 12 -a *** Loaded DALnet Popups }
unset %helper.dal.load
}
alias helper-starload {
set %helper.star.load $$?!="Load StarChat Services Popups?"
if (%helper.star.load == $true) { .load -rs $scriptdirhelper-star.mrc | echo 12 -a *** Loaded StarChat Popups }
unset %helper.star.load
}
alias helper-sorceryload {
set %helper.sorcery.load $$?!="Load SorceryNet Services Popups?"
if (%helper.sorcery.load == $true) { .load -rs $scriptdirhelper-sorcery.mrc | echo 12 -a *** Loaded SorceryNet Popups }
unset %helper.sorcery.load
}