Top

Joined but not stayed for 60 seconds? Out!

Please Register to submit score.
Average Score  4.3
Scores Submitted  3
Date Added  Dec 03, 2007
Last Updated  Dec 03, 2007
Tags  60  admin  and  anything  ban  banned  but  free  fun  join  joined  mystery  mysterycool  not  protect  protector  sixty  stayed  time  timer 

Introduction

Well, basically, if someone joins your channel but he/she didn't stay in it for AT LEAST 60 seconds, then he/she gets banned for 5 minutes.

By the way, type:

/chan (channel that you want to set this joiner-protector)

For example:

/chan #mystery

Thus, the protector for the joiner will work in #mystery.

Fell free to edit it! :)

Grab the Code

Comments

  (7)  RSS
mysterycool
Comments: 53
 
mIRC Snippet:  Joined but not stayed for 60 seconds? Out!
Posted on Dec 3, 2007 9:01 am
What do you think about it??? :)
G13AoUsTiS
Comments: 38
 
mIRC Snippet:  Joined but not stayed for 60 seconds? Out!
Posted on Dec 3, 2007 9:18 am
you can do this :

[c] alias chan {
if ($1 == $null) { echo Specify the channel you want the Joiner Protector to work at! | halt }
if (%chan != $null) { /set %chan $addtok(%chan,,44) $+ , $+ $1 | %finish = $input(Channel $1 Added!,68) }
else { /set %chan $1 | %finish = $input(Channel $1 Added!,68) }
echo Joiner protector will work in $1 $+ !
}
[/c]
G13AoUsTiS
Comments: 38
 
mIRC Snippet:  Joined but not stayed for 60 seconds? Out!
Posted on Dec 3, 2007 9:20 am
sry about the [c] and [/c]
mountaindew
Comments: 1,380
 
mIRC Snippet:  Joined but not stayed for 60 seconds? Out!
Posted on Dec 4, 2007 5:26 pm
well guys, i dont think it deserves a 1/10 :/
Cheiron
Comments: 119
 
mIRC Snippet:  Joined but not stayed for 60 seconds? Out!
Posted on Dec 5, 2007 4:42 am
nice little script. functional and useful. very close in operation and code to mine and i had to check for a moment lol... but i use wildsite alot. dont ask why, i know alot of people shun it's use.

as for the ban. i see you have used the kick ban. not needed. all you need is a simple " ban -u600 or what ever " not the "ban -ku300 or whatever" once they are banned and out the channel, the ban prevents them from coming back anyway until the timer expires.

one thing i had forgot in mine which you have got right though is the protect check. you could also use the isop check to protect any ops in channel from pings or accidental closures. maybe edit to check for that? what you think
Noutrious
Comments: 340
 
mIRC Snippet:  Joined but not stayed for 60 seconds? Out!
Posted on Dec 9, 2007 5:47 am
Well, it has stupid coding - whats the just of kick switch in ban command, when its being used in PART action? Goddamit, think with brain.
Rebellious
Comments: 64
 
mIRC Snippet:  Joined but not stayed for 60 seconds? Out!
Posted on Dec 9, 2007 11:27 am
I'm not really in to these kind of things, but the code needs a lot of improvements and I don't think anyone else has stepped up to the plate yet:

I'd use $wildsite preferably as they could easily change nicks and comeback. And you should change the set %joined [ $+ [ $nick ] ] to unset %joined [ $+ [ $nick ] ] as your variables would flood out easily. Also, your /chan alias won't work because you are setting %chan to $2 instead of $1. And if we don't specify $2, then who nothing will work. Your /chanoff alias, your /echo command should be %chan and not chan. You could also receive an error message if you are not an op in %chan, so please provide error checking and clean up the code. Finally, please learn how to use if then else statements. /help $wildsite and /help if then else 2/10 really.

Please Register or Login to start posting comments.
Bottom