PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...
If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.
"Untitled" by Mac4 [Plain Text]Actions: |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
; LegHump Version 1.6
;
; #LegHump on irc.swiftirc.net
;
; This script is a collaboration of work by Muridae, SteelRain, and Meradin, And Updated by A_A.
; Copyright 2003 - 2007 .:. Please don't alter this file. If you are reading this file
;
; to make new humps, PM A_A for information.
; If you have any ideas for updates PM A_A and i shall see what i can do
; A big thanks to c0pyr1ght3d for hosting the files as i am too lazy
;
; Bad word list:
; fuck shit gay homo # ass http www
;
on *:JOIN:#leghump: {
set %hump.version 1.5 Final
if ( %hump.on != 1 ) {
set %hump.on 1
hadd -m leghump 1 humps !nick!'s leg.
hload -n leghump leghump.dat
}
if ( %leghumpjoin. [ $+ [ $nick ] ] == $null && $nick != $me ) {
if ( %hump.ivehumped == $null ) { set %hump.ivehumped 0 }
.timerpleasehump $+ $nick 1 2 leghump $chan $nick
if ( %humping == $null ) { set -u2 %humping 1 }
else { inc %humping }
if ( %humping > 5 ) { .timerpleasehump* off }
}
}
CTCP *:HUMPVERSION:?: { ctcpreply $nick HUMPVERSION HumpScript Version: %hump.version ©2003 Meradin - Muridae - SteelRain }
alias leghump { set -u600 %leghumpjoin. $+ $2 1 | leghump2 $1 $2 | inc %hump.ivehumped 2 | .timerhumprank 1 5 checkrank }
alias leghump2 { describe $1 $replace( $hget(leghump,$rand(1,$hget(leghump,0).data)).data , !nick! , $2 ) | .timer 1 1 humpagain $1 $2 }
alias humpagain { describe $1 $replace( $hget(leghump,$rand(1,$hget(leghump,0).data)).data , !nick! , $2 ) }
alias humpversion { echo $active HumpScript Version: %hump.version ©2003 Meradin - Muridae - SteelRain }
alias rank {
if ( %hump.ivehumped == $null ) { set %hump.ivehumped 0 }
if ( %hump.beenhumped == $null ) { set %hump.beenhumped 0 }
set %hump.rank $decode($read(legranks.dat,n,$getrank))
echo $active You are rank: %hump.rank .:. Humped: %hump.ivehumped BeenHumped: %hump.beenhumped
}
on *:TEXT:!rank *:#leghump: {
if ($2 == $me) {
set %rank $decode($read(legranks.dat,n,$getrank)))
msg $chan my rank is %rank I've humped : %hump.ivehumped Been humped by : %hump.beenhumped
}
}
alias -l getrank {
set %hump.ranknum $calc( (%hump.ivehumped - %hump.beenhumped)/100 )
var %i = 2
if ( %hump.ranknum < 1 ) { return 1 }
while ( %hump.ranknum >= 2 ) {
set %hump.ranknum $calc(%hump.ranknum / 2)
inc %i
}
set %hump.currank %i
return %i
}
alias -l humprankprom {
set %hump.rank $decode($read(legranks.dat,n,$getrank))
.notice $me You have just been promoted to rank: %hump.rank .:. Humped: %hump.ivehumped BeenHumped: %hump.beenhumped
}
alias -l humprankdem {
set %hump.rank $decode($read(legranks.dat,n,$getrank))
.notice $me You have been demoted to rank: %hump.rank .:. Humped: %hump.ivehumped BeenHumped: %hump.beenhumped
}
alias -l checkrank {
set %hump.chkrank %hump.currank
if ( %hump.chkrank < $getrank ) { humprankprom }
if ( %hump.chkrank > $getrank ) { humprankdem }
}
on *:TEXT:$(! $+ $me $+ hump):#: {
if ( %hump.ivehumped == $null ) { set %hump.ivehumped 0 }
if ( %hump.beenhumped == $null ) { set %hump.beenhumped 0 }
set %hump.rank $decode($read(legranks.dat,n,$getrank))
.notice $nick I am rank: %hump.rank .:. Humped: %hump.ivehumped BeenHumped: %hump.beenhumped
}
on *:text:@clear*:#leghump: {
if ( $nick isop $chan && $me !isop $chan ) {
hfree leghump
hadd -m leghump 1 furiously humps !nick!'s leg
hsave -no leghump leghump.dat
}
}
on *:disconnect: {
set %hump.on 0
hsave -no leghump leghump.dat
hfree leghump
}
on *:unload: {
set %hump.on 0
hsave -no leghump leghump.dat
hfree leghump
}
on *:connect: {
set %hump.on 1
hadd -m leghump 1 humps !nick!'s leg.
hload -n leghump leghump.dat
}
#leghumpAI ON
on ^*:ACTION:*hump*:#leghump: {
if ( * $+ $me $+ 's* iswm $1- ) { inc %hump.beenhumped }
if ( *humps*'s*leg* iswm $1- ) {
set %hump.user $remove($wildtok($1-,*'s*,1,32),'s)
if ( $nick($chan, %hump.user ) > 0 && $nick != %hump.user ) {
set %hump.new $replace($1-, %hump.user,!nick!)
if ( !$hfind(leghump,%hump.new,1,n).data && $wildtok( %hump.new,*!nick!*,0,32) == 1 && !badword && $nick isop $chan ) {
hadd leghump $calc($hget(leghump,0).data + 1) %hump.new
}
elseif ( $me isop $chan && $hfind(leghump,%hump.new,1,n).data > 0 ) {
;Admin Section for auto-Voiceing greatness
if ( $nick($chan, $nick ,a,vo) != $null && $nick !isin % [ $+ [ $chan $+ .voice ] ] ) {
addvoicequeue $chan $nick
}
}
}
}
}
on *:text:@addbad*:#leghump: {
if ( $nick isop $chan ) {
write -l10 leghump.mrc $read(leghump.mrc,n,10) $2
hdel leghump $hfind(leghump,%hump.new,1,n).data
}
}
; addvoicequeue <channel> <nick>
alias addvoicequeue {
set % [ $+ [ $1.voice ] ] % [ $+ [ $1.voice ] ] $2
.timeraddvoice 1 3 addvoice $1
}
; addvoice #channel
alias -l addvoice {
var %i = 1
while ( %i <= $numtok( % [ $+ [ $1.voice ] ] , 32) ) {
set %voicenow %voicenow $gettok( % [ $+ [ $1.voice ] ] , %i,32)
if ( $numtok( %voicenow , 32) >= 6 ) {
mode $1 +vvvvvv %voicenow
unset %voicenow
}
inc %i
}
if ( %voicenow ) {
mode $1 + $+ $left(vvvvvv,$numtok( %voicenow, 32)) %voicenow
unset %voicenow
}
unset % [ $+ [ $1.voice ] ]
}
;Bad words..
alias -l badword {
var %i = 1
set %badwords $read(leghump.mrc,n,10)
set %badwords $mid(%badwords,3,$len(%badwords))
while ( %i <= $numtok(%badwords,32) ) {
if ( $gettok(%badwords,%i,32) isin %hump.new ) {
return $true
}
inc %i
}
return
}
#leghumpAI End
|