Gabe's Channel Lockdown v1.1
mIRC Code
Please Register to submit score.
| Average Score | 0.0 (of 0 scores) |
| Date Added | Apr 03, 2010 |
| Last Updated | Apr 04, 2010 |
| Tags | 1.1 channel gabes lockdown v1.0 |
Screenshots
Description
A very simple channel lockdown script, it uses the basic methods of aliases and timers, yet very useful. The script puts the following channel modes into the play:
+k [random number] (channel keyword)
+i (invite only)
+s (secret)
+l [1] (limit)
+m (moderated, only voiced users may speak)
+n (no outside messages)
Screenshot:

The scripts aliases are the following:
/ld (Initiate)
/-ld (Halt)
When you type the scripts aliases keep sure it is in the window of that channel.
Feel feel to edit this script and make it your own, please if you post it on Hawkee again as a revision just make it say something like "Revised from Gabe's Channel Lockdown v1.1".
__________________________________________________
4/2/10 - Gabe's Channel Lockdown v1.0 Released!
--------------------------------------------------
4/2/10 - Gabe's Channel Lockdown v1.1 Released!
-More Colorful/Bold
-2 Timers instead of several.
-Aliases changed!( /lockdown & /-lockdown to /ld & /-ld )
-Underlining!
-IRCOP Version UPDATE: Suspends the channel. Making it nearly impossible for any regular user to join the channel!
WARNING: IF USED KICKS EVERYONE FROM THE CHAN EXCEPT OWNERS!
--------------------------------------------------
?/?/? Gabe's Channel Lockdown v1.3 coming soon!
__________________________________________________
Need help?
Join my channel on T3CHIRC.
Irc.T3CHIRC.Net:6667 #Gabe
+k [random number] (channel keyword)
+i (invite only)
+s (secret)
+l [1] (limit)
+m (moderated, only voiced users may speak)
+n (no outside messages)
Screenshot:

The scripts aliases are the following:
/ld (Initiate)
/-ld (Halt)
When you type the scripts aliases keep sure it is in the window of that channel.
Feel feel to edit this script and make it your own, please if you post it on Hawkee again as a revision just make it say something like "Revised from Gabe's Channel Lockdown v1.1".
__________________________________________________
4/2/10 - Gabe's Channel Lockdown v1.0 Released!
--------------------------------------------------
4/2/10 - Gabe's Channel Lockdown v1.1 Released!
-More Colorful/Bold
-2 Timers instead of several.
-Aliases changed!( /lockdown & /-lockdown to /ld & /-ld )
-Underlining!
-IRCOP Version UPDATE: Suspends the channel. Making it nearly impossible for any regular user to join the channel!
WARNING: IF USED KICKS EVERYONE FROM THE CHAN EXCEPT OWNERS!
--------------------------------------------------
?/?/? Gabe's Channel Lockdown v1.3 coming soon!
__________________________________________________
Need help?
Join my channel on T3CHIRC.
Irc.T3CHIRC.Net:6667 #Gabe
You really don't need to have +ilk all together, any one of them would suffice. You may combine all those modes into one line. You must specify the channel key to remove it.
Most people will want to set mode +n when they create the channel and leave it. The mode +s only hides the channel from /whois and\or /list and also should be decided about and set at creation and left. So really as far as locking the channel /mode # +mi works fine.
| Code: |
alias lockdown mode # +mnsilk 1 $rand(1000,1000000) alias -lockdown mode # -mnsilk $chan(#).key |
Most people will want to set mode +n when they create the channel and leave it. The mode +s only hides the channel from /whois and\or /list and also should be decided about and set at creation and left. So really as far as locking the channel /mode # +mi works fine.
i dont think you have a grasp of timers
timer (amount of times to do said command) (in amount of seconds)
timer 7 2 /samode $chan +n
you wish to execute this command 7 times after 2 seconds of calling the lockdown alias?
if your trying to "name" your timers
use something like this
timer1 1 1 /msg $chan -4LOCK1DOWN- MODE 3Initiated!
timer2 1 2 /samode $chan +k $rand(1000,1000000)
timer3 1 2 /samode $chan +i
timer4 1 2 /samode $chan +s
timer5 1 2 /samode $chan +l 1
timer6 1 2 /samode $chan +m
timer7 1 2 /samode $chan +n
you could also group all your modes together
timer1 1 1 /msg $chan -4LOCK1DOWN- MODE 3Initiated!
timer2 1 2 /samode $chan +k $rand(1000,1000000)
timer3 1 2 /samode $chan +ismn
timer5 1 2 /samode $chan +l 1
im sure the +k and +l can also be grouped into +ismn too
timer (amount of times to do said command) (in amount of seconds)
timer 7 2 /samode $chan +n
you wish to execute this command 7 times after 2 seconds of calling the lockdown alias?
if your trying to "name" your timers
use something like this
timer1 1 1 /msg $chan -4LOCK1DOWN- MODE 3Initiated!
timer2 1 2 /samode $chan +k $rand(1000,1000000)
timer3 1 2 /samode $chan +i
timer4 1 2 /samode $chan +s
timer5 1 2 /samode $chan +l 1
timer6 1 2 /samode $chan +m
timer7 1 2 /samode $chan +n
you could also group all your modes together
timer1 1 1 /msg $chan -4LOCK1DOWN- MODE 3Initiated!
timer2 1 2 /samode $chan +k $rand(1000,1000000)
timer3 1 2 /samode $chan +ismn
timer5 1 2 /samode $chan +l 1
im sure the +k and +l can also be grouped into +ismn too
your still trying to process the timer twice
timer 2 2 /samode $chan -k $rand(1000,1000000)
timer (how many times to run this timer) (how many seconds from activation)
it should be
timer 1 2 /samode $chan -k $rand(1000,1000000)
timer 2 2 /samode $chan -k $rand(1000,1000000)
timer (how many times to run this timer) (how many seconds from activation)
it should be
timer 1 2 /samode $chan -k $rand(1000,1000000)



