Top

Gabe's Channel Lockdown v1.1


mIRC Code

Please Register to submit score.
Bookmark and Share
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

Grab the Code

[Gabe's Channel Lockdown v1.1] 
ONLY USE ONE OF THE BELOW SCRIPTS!
 
 
----------Normal User Version---------- 
 
alias ld { 
  timer 1 1 /msg $chan 1,4-LOCKDOWN- MODE Now 3Initiated!
  timer 1 2 /mode $chan +k $rand(1000,1000000)
  timer 1 2 /mode $chan +mnsil 1
}
 
 
 
alias -ld {
  timer 1 1 /msg $chan 1,4-LOCKDOWN- MODE Now 4Halting!
  timer 1 2 /mode $chan -k $rand(1000,1000000)
  timer 1 2 /mode $chan -imnsil
}
 
 
 
----------IRCOP LOCKDOWN VERSION----------
 
alias ld { 
  timer 1 1 /msg $chan 1,4-LOCKDOWN- MODE Now 3Initiated!
  timer 1 2 /samode $chan +k $rand(1000,1000000)
  timer 1 2 /samode $chan +mnsil 1
  timer 1 2 /cs suspend $chan -LOCKDOWN-
}
 
 
 
alias -ld {
  timer 1 1 /msg $chan 1,4-LOCKDOWN- MODE Now 4Halting!
  timer 1 2 /samode $chan -k $rand(1000,1000000)
  timer 1 2 /samode $chan -imnsil
  timer 1 2 /cs unsuspend $chan -LOCKDOWN-
}
 
__________________
Irc.T3CHIRC.Net/6667 #Gabe 
Gabe@Gab3.net
 
 

Comments

  (5)  RSS
gooshie
Comments: 213
 
mIRC Snippet:  Gabe's Channel Lockdown v1.1
Posted Apr 03, 2010
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.

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.
PunkTuReD
Comments: 524
 
mIRC Snippet:  Gabe's Channel Lockdown v1.1
Posted Apr 03, 2010
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


Gabe
Comments: 3
 
mIRC Snippet:  Gabe's Channel Lockdown v1.1
Posted Apr 03, 2010
ya @PunkTuReD I'm still begging to master the art of scripting, thanks for the tips :D
PunkTuReD
Comments: 524
 
mIRC Snippet:  Gabe's Channel Lockdown v1.1
Posted Apr 03, 2010
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)
Gabe
Comments: 3
 
mIRC Snippet:  Gabe's Channel Lockdown v1.1
Posted Apr 04, 2010
@PunkTuReD Thanx

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  

Bottom