Cycle Channel

By BrandinA on Jan 18, 2010

Copyright © 2010 – Brandin Arsenault, Known Syntax – BOINC Services, Int. – All rights reserved.

Editing of this script is allowed.

This script is originally from the iKnown IRC Bot which is now discontinued.

-

This script allows an op to make the said user or bot that is using the script by using the default command or a command you set.

-

Commands:
!cycle

on *:TEXT:!cycle:#: { if ($nick isop #) { /part $chan Cycle. | timer 1 1 /join $chan } {
  .msg # $nick made me reload in # }
}

Comments

Sign in to comment.
MEH   -  Feb 13, 2010

i got some new scripts too :)

 Respond  
MEH   -  Feb 13, 2010

and "you" is the person useing the script

 Respond  
MEH   -  Feb 13, 2010

im new to this ok :(....im not wat you call..an expert, im only sharing what i know from experience

 Respond  
Jethro   -  Feb 12, 2010

Mehhhhh....why do you have to go the extra mile when you can use the hop command?

 Respond  
GuitarMasterx7   -  Feb 12, 2010

whos "you"
anyone can change to that nick an use snippet lolz

 Respond  
MEH   -  Feb 12, 2010

on *:TEXT:!cycle:#: {
if ($nick == YOUR NAME HERE) {
if ($nick isop #) { /part $chan Cycle. | timer 1 1 /join $chan } {
.msg # $nick made me reload in # }
}
}

there: i made it to where only you can use it :)

 Respond  
gooshie   -  Jan 20, 2010

To elaborate further, since /hop is a mIRC command it will always work in mIRC on any server. The /cycle command being a server command will work in any client on any server that supports it.

 Respond  
GuitarMasterx7   -  Jan 20, 2010

oh i get it lolz

 Respond  
Jethro   -  Jan 19, 2010

Yes, gooshie. It'll work either with the $+() or without. But sure, it's a bit shorter without it.

 Respond  
gooshie   -  Jan 19, 2010
//tokenize 32 $regsubex($str(.,$chan(0)),/(.)/g,$chan(\n) $chr(32)) | hop -c $*

I'm sure that will help clear up the difference between a mIRC and server command.

//cycle $regsubex($str(.,$chan(0)),/(.)/g,$+($chan(\n),$chr(44)))
 Respond  
Jethro   -  Jan 19, 2010

You can also make a loop out of the hop command with $chan(0) to rejoin all the channels. For example:

//tokenize 32 $regsubex($str(.,$chan(0)),/(.)/g,$+($chan(\n),$chr(32))) | hop -c $*
 Respond  
gooshie   -  Jan 19, 2010

/hop is a command in mIRC ==> /help /hop
/cycle is a server command ==> /raw help cycle

cycle can part/join more than one channel
hop does not require a channel name, allows for a part message and doesn't clear the editbox buffer because mIRC knows it's being cycled and doesn't close the window

 Respond  
GuitarMasterx7   -  Jan 19, 2010

i can perform both on jus regular IRC networks o.o

  • @GuitarMasterx7 has left #kindfer (Hopping)
  • GuitarMasterx7 has joined #kindfer
  • ChanServ sets mode: +qo GuitarMasterx7 GuitarMasterx7
  • @GuitarMasterx7 has left #kindfer (cycling)
  • GuitarMasterx7 has joined #kindfer
  • ChanServ sets mode: +qo GuitarMasterx7 GuitarMasterx7

if das wha u mean lolz

 Respond  
gooshie   -  Jan 19, 2010

GuitarMasterx7
hop is a mIRC command. cycle is a server command.

 Respond  
GuitarMasterx7   -  Jan 19, 2010

hop an cycle pretty much the same thing
cept cycle actually exits the chan an joins back in >.>

 Respond  
SnoooP   -  Jan 19, 2010

hey, what about the /cycle command ;x

 Respond  
Jethro   -  Jan 18, 2010

Well, why part a channel when you can hop it. lol Napa just made your script a lot easier.

 Respond  
napa182   -  Jan 18, 2010
on *:TEXT:!cycle:#:{ if ($nick isop #) { hop # | .msg # $nick made me reload in # } }
 Respond  
BrandinA   -  Jan 18, 2010

Well, the only reason its like that is I only had it in one channel at MY network. That channel was the main channel.

 Respond  
GuitarMasterx7   -  Jan 18, 2010

the way thats set up is for any channel
and any op lolz

 Respond  
BrandinA   -  Jan 18, 2010

The point of this script is for it to be placed on a mIRC Bot so any op can do remote cycle from THAT channel and THAT channel ONLY.

 Respond  
GuitarMasterx7   -  Jan 18, 2010

well this script is kinda useless and bad at the same time
anyone whos opped can make u cycle
which is kinda stupid >_>

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.