Command bot

By Actaviosan on Mar 31, 2005

It's a commands bot, which is called Soldier.
write !commands to see the commands. It's better that you will save it as .mrc file and then write /load -rs name.mrc
You need to be op to command him. And you need to edit every #YourChannel .

;Soldier Bot By Actaviosan
;==========================

on *:load: {
  echo -a 4S7oldier 4B7ot 4I7s 4S7uccesfully 4L7oaded1.
  echo -a 12T2his 12B2ot 12W2as 12C2reated 12B2y 12A2ctaviosan1.
  echo -a 5E6mail 5H6im 5A6t 14actaviosan@yahoo.com 5O6r 5P6m 5H6im 13Actaviosan - #3dv @ Quakenet.org
}
on *:join:#YourChannel: {
  notice $nick Welcome to our channel, I am Soldier Bot, For help write !Soldier .
}
on *:text:!Soldier:#YourChannel: {
  msg #YourChannel Sir, Be prepared to give me orders.
  timer 1 1 msg #YourChannel You can order me by those commands :
  timer 1 2 msg #YourChannel Channel Operators Commands :
  timer 1 3 msg #YourChannel !Op nick - This command will make me Op someone. !Deop nick - This command will make me Deop someone. !Voice nick - This command will make me voice someone. !devoice nick - this command will make me DEVOICE someone.
  timer 1 4 msg #YourChannel !ban nick - This command will make me ban someone. !kick nick - this command will make me kick someone. !curse nick - This command will make me curse someone, Really bad.
  timer 1 5 msg #YourChannel Other Channel's People Commands :
  timer 1 7 msg #YourChannel None. But I am warning you, Do not adv here, Or you will get ban,kick.
}
on *:text:!op *:#YourChannel: {
  if ($nick isop #YourChannel) { mode #YourChannel +o $2 }
  else notice $nick You're not a general and I cannot do your commands.  
}
on *:text:!deop *:#YourChannel: {
  if ($nick isop #YourChannel) ( mode #YourChannel -o $2 )
  else notice $nick You're not a general and I cannot do your commands.
}
on *:text:!voice *:#YourChannel: {
  if ($nick isop #YourChannel) { mode #YourChannel +v $2 )
    else notice $nick You're not a general and I cannot do your commands.
  }
  on *:text:!devoice *:#YourChannel: {
    if ($nick isop #YourChannel) ( mode #YourChannel -v $2 )
    else notice $nick You're not a general and I cannot do your commands.
  }
  on *:text:!ban *:#YourChannel: {
    if ($nick isop #YourChannel) { mode #YourChannel +b $2 )
      else notice $nick You're not a general and I cannot do your commands.
    }
    on *:text:!kick *:#YourChannel: (
    if ($nick isop #YourChannel) ( kick #YourChannel $2 )
    else notice $nick You're not a general and I cannot do your commands.
  }
  on *:text:!curse *:#YourChannel: {
    if ($nick isop #YourChannel) ( msg #YourChannel $2 You motherfucker Don't you bother my general again )
    else notice $nick You're not a general and I cannot do your commands.
  }
on *:text:*#*:#YourChannel: {
if ($nick isop #YourChannel) { return )
else notice $nick You did adv, Now you'll be kicked banned.
mode #YourChannel +b $nick | kick #YourChannel $nick
}

Comments

Sign in to comment.
slippy090   -  Dec 28, 2009

VERY nice bot

 Respond  
a careful warchild   -  Sep 05, 2008

just do if ($nick !isop $chan) msg $chan Sorry $nick You Cannot Use These Commands.

 Respond  
DeathRyder082   -  Aug 11, 2005

alot of #YourChannel\'s. maybe just use # and keep him in one channel?

 Respond  
DeathRyder082   -  Jul 08, 2005

Wow. For being new to mIRC Scripting you sure did a good job.

 Respond  
brottor   -  Apr 18, 2005

faclciano: add this to his remotes on :text:!join:?: { if ($nick == YOURNICK) { join $$2 } } then you can /msg botnick !join chan

 Respond  
Falciano   -  Apr 18, 2005

He doenst join my channe:

 Respond  
Falciano   -  Apr 18, 2005

He doenst join my channel what could be the problem?

 Respond  
aaslyfox   -  Mar 31, 2005

im newish 2 scripting as well

 Respond  
supergeo   -  Mar 31, 2005

hmm Very Very simple.... I wouldn\'t use this for my bot just because I could do this stuff myself... like opping and kicking.. maybe not the spam but I could just put that in my remotes.

 Respond  
Actaviosan   -  Mar 31, 2005

I wanted you to know that I am new to mirc scripting

 Respond  
aaslyfox   -  Mar 31, 2005

otherwise*

 Respond  
aaslyfox   -  Mar 31, 2005

hmm using #%channel may have been easier for people, as all they would have to do is /set %channel #theirchannel and it would fill it in all the places for them, rather than them having to type it. othwerise nice script

 Respond  
Actaviosan   -  Mar 31, 2005

Any comments ? bugs ?

 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.