This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Need-invite dilema

Old posts that have not been replied to for several years.
Locked
User avatar
toefraz
Halfop
Posts: 44
Joined: Thu Jul 01, 2004 4:35 am

Need-invite dilema

Post by toefraz »

I'm not sure if I'm in the right forum but here it goes. I have a few channels that are +i, and if the other bots are absent from that channel and I'm not around, when my bots restarts, it gets locked out of the channel. So I made a little mirc script that when my bot notices me "invite #channel" I invite it into that channel.
My question is, how do I set the bot to automatically do that when starting?

.chanset #chan need-invite putserv "NOTICE toefraz "invite $channel"

^^ That is what I have now, but it's not working. I think it the $channel thing. Could someone help me? (Sorry for rambling) :)
When the going gets tough...Make lemonade!!!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

putserv "NOTICE <destination> :<message>"
do you notice any differences?
Once the game is over, the king and the pawn go back in the same box.
User avatar
toefraz
Halfop
Posts: 44
Joined: Thu Jul 01, 2004 4:35 am

Post by toefraz »

sorry I left out the ":" when i typed it. but it is in my chanfile. I just need to know how to correctly call the channel that the bot needs invite in.
When the going gets tough...Make lemonade!!!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

.chanset #chan need-invite putserv "NOTICE toefraz :invite #chan" 
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

If your Network uses an IRCd that supports channel mode +/-I then you could simply do the following in each channel:

Code: Select all

/mode #channelname +/-I [hosts]
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked