mIRC Homepage
Posted By: GTJPG i need help! whit a bot - 20/07/06 03:35 PM
hey iv just started trying to script in irc and i need a bot that stays in the channel oul time long and makes me op when i join and aut voice the others! can sombody please help me whit this???
Posted By: OrionsBelt Re: i need help! whit a bot - 20/07/06 03:38 PM
lol

In the other threat you just ask the opposite.
I must be reading something wrong...
Posted By: GTJPG Re: i need help! whit a bot - 20/07/06 03:40 PM
i just need a bot! that auto voice and make the channel stay where it is! and dont disapear and makes me op every time i join! so that only me can be op of the channel! not enyone els that join and when im not online they stay + and dont get op!
Posted By: OrionsBelt Re: i need help! whit a bot - 20/07/06 03:44 PM
Code:
on *:JOIN:[color:red]#channelname[/color]:{
  if ($nick == [color:blue]GTJPG[/color]) {
     mode $chan +o $nick
  }
  else {
     mode $chan +v $nick
  }
}


This would op your nick. Modify GTJPG to your irc nick, in case it's different. All the other users will get voice from the bot.

For this script to work, the bot obviously needs to have ops.
Copy and paste the code to the bots remote window (ALT + R).

Have fun.
Posted By: GTJPG Re: i need help! whit a bot - 20/07/06 04:11 PM
how do i create a bot????????????????
Posted By: RusselB Re: i need help! whit a bot - 20/07/06 10:56 PM
To create the bot, install a second copy of mIRC in a different location from the original (you'll need to specify the location), open that copy of mIRC, then follow OrionsBelt's instructions.
Posted By: schaefer31 Re: i need help! whit a bot - 21/07/06 01:52 AM
I know you're asking for a method by scripting, but another (and better for 24/7) solution might be ChanServ (or whatever the network's channel management service is), if the network has it. Check with the network's help channel on that, usually #help.
Posted By: CodedChaos Re: i need help! whit a bot - 23/07/06 06:51 PM
or register your channel and set yourself AutoOP list.
Code:
/cs register [channel] [password] [description]

/cs set [channel] xop ON

/cs aop [channel] Add [nick] 1


This will tell ChanServ to automcatically OP you, it's abit pointless because you are the channel owner, so your auto op anyway, but this can show you how to add people to autoOp list.

Your nick has to be registered to do this. to register your nick type

Code:
/ns register [password] [e-mail]  
© mIRC Discussion Forums