mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2003
Posts: 2
B
Bowl of petunias
OP Offline
Bowl of petunias
B
Joined: Nov 2003
Posts: 2
The owner of the channel for which I am co-owner (on another server than in my profile) set invite-only to the channel to keep out a certain person. For this, I made the following alias, which does not work.

/loke /cs invite #channel | /join #channel

Why doesn't it work? Because it acts like the friggin' /join command comes first. To try to combat this, I stuck in a timer (which I am just now using).

/loke /cs invite #channel | /timer1 0 3 /join #channel

Now I not only get in the channel, but it floods the server with "/join #channel". I tried hitting /timer1 off, but that does not halt the continuous /join commands sent to the server.

Help would be appreciated. Thanks.


Server: GameSurge
Channel: #drp
Joined: Mar 2004
Posts: 130
T
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
if you type:
/ajinvite on

and then
/cs invite #channel me , you are autojoing this channel on invite


Joined: Jun 2004
Posts: 133
S
Vogon poet
Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
i'm not sure if you mean
{ invite nick #channel }

try
timer1 1 3 { command }

zero keeps repeating until you stop the timer


Give a man a fish feed him for a day, Teach him to fish, feed him for life
Joined: Nov 2003
Posts: 2
B
Bowl of petunias
OP Offline
Bowl of petunias
B
Joined: Nov 2003
Posts: 2
Danke sehr.


Server: GameSurge
Channel: #drp
Joined: Mar 2004
Posts: 130
T
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
Nichts tsu danken =)

Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
I once used this for a bot I had as a method to stop bans keeping the bot out of the room. However I only had the invite command itself and not join running from an alias. The join command was fed from the raw message that stated that ChanServ had invited the bot to the room.

/help ON INVITE for more information.

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
As a bit of an explanation as to why you're flooding with the /join command with that second alias:

/timer1 0 3 /join #channel

The 0 is the parameter of the /timer command that specifies how many times the command should be executed. Obviously if you're joining a channel you can only join it once without parting, so it should be 1 as ScoT illustrated. Using '0' will send the /join command constantly, non-stop until you stop the timer or you disconnect (in this case every 3 seconds).

Regards,


Mentality/Chris

Link Copied to Clipboard