Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###Ownership script | Version WHO KNOWS
- on *:TEXT:*!espeon*:#: { if (%floodkill == 0) { /espeon $nick
- set %floodkill 1
- timerfloodkill 1 5 set %floodkill 0 } }
- alias espeon {
- if ($me = Espeon) {
- if (%iftime = 0) {
- if %secdec == 1 { describe $chan still belongs to %espynick for 1 more second! }
- elseif %secdec < 60 { describe $chan still belongs to %espynick for %secdec more seconds }
- else {
- if $round($calc( %secdec / 60 ),0) = 1 { describe $chan still belongs to %espynick for $round($calc( %secdec / 60 ),0) more minute }
- else {
- if $round($calc( %secdec / 60 ),0) > 1 { describe $chan still belongs to %espynick for $round($calc( %secdec / 60 ),0) more minutes }
- }
- }
- }
- else {
- %time = $rand(5,20)
- %espynick = $1
- { notice %espynick 5To control "your" 6Espeon5 - "/ctcp 6Espeon5 act #chan <acts>" - Now with "/ctcp 6Espeon5 say #chan <words>" support! }
- if %time = 1 { describe $chan now belongs to %espynick for %time minute }
- else { describe $chan now belongs to %espynick for %time minutes }
- %iftime = 0
- %secdec = $calc( %time * 60 )
- timerespyleft $calc( %time * 60 ) 1 dec %secdec
- timerespy 1 $calc( %time * 60) set %iftime 1
- }
- }
- }
- ###CTCP support. Disable this for servers where people have a terrible sense of humor.
- ctcp *:act:*: if ($nick == %espynick) /describe $$2 $$3- ( $+ $nick $+ )
- ###"Old" ctcp say line. "Fun" if you like people !kickme'ing you.
- ;ctcp *:say:*: if ($nick == %espynick) /msg $$2 $$3- ( $+ $nick $+ )
- ###Now with more security. Might still have openings for unfunny people to have fun though.
- ctcp *:say:*: {
- if ($nick == %espynick) {
- if (! isin $3) {
- /notice $nick 5Afraid I can't let you do that, 6 $+ $nick $+ .
- halt
- }
- else {
- /msg $$2 $$3- ( $+ $nick $+ )
- }
- }
- }
- ###Resets / unsets all related variables.
- alias varset { unset %espynick | set %floodkill 0 | unset %iftime | msg $chan 3[6! $+ 6espeon vars 4reset3] }
- ###If you set it up and it doesn't work, try putting the following variables into your variables tab manually. %time 5 | %floodkill 0 | secdec 50 | %iftime 1 , and then do /varset
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement