| Arcades | Library | Travel | MP3 | Directory | Horoscope | Downloads | Mobile | Movies | Gallery | PHP Group |
| mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks! |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
auto join
First Command
- /ajoin -a Network channel1 channel2 ... - This will add a channel or channels to auto-join on the specified network Don`t care of inputting a channel twice.. It will overwrite it. All channels must have the # prefix before them, Channels must be separated by spaces. ------ Second Command - /ajoin -r - This will delete a #channel from the autojoin list One channel at a time can be deleted. ------ Third Command - /ajoin -c - this will clear all Auto-Join Channels on that specified network ------ Fourth Command - /ajoin -g - This will echo all auto-join channels in the specified network ------ Fifth Command - /ajoin -d - This will delete all the information for Auto-joining channels ------ Sixth Command - /ajoin on - it will activate the auto join snippet. ------ Seventh Command - /ajoin off - turn off the auto join snippet. ------ Eight Command - /ajoin - This will echo you if the snippet is enabled or disabled. ------ Nineth Command - /ajoin -Mg - It Stands for MASS get (Get everyting in Database) No Parameters This will make you get the list of all networks in the database and all their auto-join channels Code:
alias ajoin {
if ($regex($1,/^-a$/i) == 1) {
if ($regex($2,/[A-Z0-9]/i) == 0) {
!echo -a No Network specified
halt
}
if ($regex($2,/[A-Z0-9]/i) == 1) {
!.echo -q $regsub($2,,,%ane)
}
if ($regex($3-,/[A-Z0-9]/i) == 0) {
!echo -a No Channels specified
halt
}
if ($regex($3-,/[A-Z0-9]/i) == 1) {
var %spc = $calc($regex($3-,/\s/gi) + 1)
if ($regex($3-,/[&%#]\S+/xig) != %spc) {
!echo -a Channels must have one of $eval(#,0) prefix
halt
}
}
if ($regex($3-,/[&%#]\S+/xig) == %spc) {
if ($numtok($hget(Ajoin,$2),32) == 0) {
.hadd -m Ajoin $2 $3-
.echo -q $regsub($3-,/\s/g,$chr(44),%lmnop)
echo -a Added %lmnop to $2
unset %lmnop
halt
}
elseif ($numtok($hget(Ajoin,$2),32) > 0) {
var %xzs = 1
var %chsjsh = $hget(Ajoin,$2)
while (%xzs <= $numtok($hget(Ajoin,$2),32)) {
.hadd -m Ajoin $2 %chsjsh $+ $chr(32) $+ $3-
.hsave -o Ajoin Ajoin.dat
inc %xzs
.echo -q $regsub($3-,/\s/g,$chr(44),%lmnop)
echo -a Added %lmnop to $2
unset %lmnop
halt
}
}
}
}
if ($regex($1,/^-c$/i) == 1) {
if ($regex($2,/[A-Z0-9]/i) == 0) {
!echo -a No Network specified
halt
}
if ($regex($2,/[A-Z0-9]/i) == 1) && ($regex($3-,/[A-Z0-9]/i) == 1) {
!echo -a Syntax : /ajoin -c
__________________
|
|
#2
|
||||
|
||||
|
Re: auto join
cult kaza marra 3ataytne remote ma yezbato bas la jarib hayda
![]()
__________________
I Love AngelSoul :* |
|
#3
|
||||
|
||||
|
Re: auto join
Quote:
2ee shoo sar ma3ak khayye?
__________________
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| American nun, priest join Gaza standoff (AP) | TheGodFather | News Articles and Links And Political Discussion! | 0 | 22-11-2006 07:44 PM |
| Hezbollah 'to join talks on Lebanon unity government' (AFP) | TheGodFather | News Articles and Links And Political Discussion! | 0 | 26-10-2006 09:19 PM |
| What time do you join Tchatting | Thugilex | The Lounge | 47 | 08-10-2005 08:10 PM |
| tinny auto join dialog | Cult | mIRC :: SCRIPTING & HELP | 0 | 13-09-2005 04:17 PM |
| Auto Msg On Join | DreamS | mIRC :: SCRIPTING & HELP | 8 | 10-03-2005 12:16 PM |