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
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! :)
mIRC Snippet:
Joined but not stayed for 60 seconds? Out!
Posted on Dec 3, 2007 9:01 am
Posted on Dec 3, 2007 9:01 am
What do you think about it??? :)
mIRC Snippet:
Joined but not stayed for 60 seconds? Out!
Posted on Dec 3, 2007 9:18 am
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]
[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]
mIRC Snippet:
Joined but not stayed for 60 seconds? Out!
Posted on Dec 3, 2007 9:20 am
Posted on Dec 3, 2007 9:20 am
sry about the [c] and [/c]
mIRC Snippet:
Joined but not stayed for 60 seconds? Out!
Posted on Dec 4, 2007 5:26 pm
Posted on Dec 4, 2007 5:26 pm
well guys, i dont think it deserves a 1/10 :/
mIRC Snippet:
Joined but not stayed for 60 seconds? Out!
Posted on Dec 5, 2007 4:42 am
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
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
mIRC Snippet:
Joined but not stayed for 60 seconds? Out!
Posted on Dec 9, 2007 5:47 am
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.
mIRC Snippet:
Joined but not stayed for 60 seconds? Out!
Posted on Dec 9, 2007 11:27 am
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.
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.





