Top

InfoBot -- Fixed


mIRC Code
+ 2 likes
Please Register to submit score.
Bookmark and Share
Average Score  6.5 (of 2 scores)
Date Added  Oct 29, 2009
Last Updated  Nov 01, 2009
Tags  info  learn 

Introduction

compujuckel InfoBot System

Commands:
- infohelp
- .learn=<is/reply/action>
- .info <name>
To view something, type = <name>.

Admin CMDs
- .learn=del
- .user=add
- .user=del

Identifiers like $3, usw. works.

==ATTENTION==
To use Admin CMDs, at first type /auser 3 <your nick>

==FIX==
Put this code in Aliases, then it should work.

/colors {
%cf = $1-
%cf = $replace(%cf $+ ,[k],)
%cf = $replace(%cf $+ ,[b],)
%cf = $replace(%cf $+ ,[u],)
return %cf
}

Have fun!

Grab the Code

; compujuckel InfoBot System
on *:text:.learn=is*:*:{
  writeini infobot.ini $2 exists 1
  writeini infobot.ini $2 type is
  writeini infobot.ini $2 text $3-
  writeini infobot.ini $2 author $nick
  writeini infobot.ini $2 date $fulldate
  notice $nick Okay, $nick
}
on *:text:.learn=reply*:*:{
  writeini infobot.ini $2 exists 1
  writeini infobot.ini $2 type reply
  writeini infobot.ini $2 text $3-
  writeini infobot.ini $2 author $nick
  writeini infobot.ini $2 date $fulldate
  notice $nick Okay, $nick
}
on *:text:.learn=action*:*:{
  writeini infobot.ini $2 exists 1
  writeini infobot.ini $2 type action
  writeini infobot.ini $2 text $3-
  writeini infobot.ini $2 author $nick
  writeini infobot.ini $2 date $fulldate
  notice $nick Okay, $nick
}
on *:text:=*:*:{
  if ( $readini(infobot.ini, $+ $2 $+ ,exists) == 1 ) {
    if ( $readini(infobot.ini, $+ $2 $+ ,type) == is ) {
      msg $chan $2 $+ : $colors($readini(infobot.ini, $+ $2 $+ ,text))
    }
    if ( $readini(infobot.ini, $+ $2 $+ ,type) == reply ) {
      msg $chan $colors($readini(infobot.ini, $+ $2 $+ ,text))
    }
    if ( $readini(infobot.ini, $+ $2 $+ ,type) == action ) {
      describe $chan $colors($readini(infobot.ini, $+ $2 $+ ,text))
    }
  }
}
on *:text:.info*:*:{
  if ( $readini(infobot.ini, $+ $2 $+ ,exists) == 1 ) {
    msg $chan $2 was created $readini(infobot.ini, $+ $2 $+ ,date) by $readini(infobot.ini, $+ $2 $+ ,author) $+ .
  }
}
on 3:text:.user=add*:*:{
  auser 3 $2
  msg $chan $2 is now an InfoBot Admin!
  notice $2 $nick added you as an InfoBot Admin!
}
on 3:text:.user=del*:*:{
  ruser $2
  msg $chan $2 is no longer an InfoBot Admin!
  notice $2 You are no longer an InfoBot Admin! ( $+ $nick deleted you)
}
on 3:text:.learn=del*:*:{
  writeini infobot.ini $2 exists 0
  notice $nick Okay, $nick
}
on *:TEXT:infohelp:*:{
  notice $nick Welcome to the compujuckel InfoBot System.
  notice $nick To learn something, type 4.learn=<is/reply/action> <name> <text>
  notice $nick "is" is in this format: 12<name>: <text>
  notice $nick "reply" is in this format: 12<text>
  notice $nick "action" is in this format: 12<botname> <text>
  notice $nick To view something, type 4= <name>
  notice $nick Informations about something learned 4.info <name>
  notice $nick 3==Admin Only CMDs==
  notice $nick 4.learn=del <name> 
  notice $nick 4.user=add <nick>
  notice $nick 4.user=del <nick>
  notice $nick To use colors, dont press CTRL + K, use [k] ([b], [u] for bold and underline) 
  notice $nick Have fun!
}
 

Comments

  (5)  RSS
Shinybot
Comments: 20
 
mIRC Snippet:  InfoBot -- Fixed
Posted on Oct 29, 2009 1:09 pm
Thanks Compujuckel
Ghost-writer
Comments: 256
 
mIRC Snippet:  InfoBot -- Fixed
Posted on Oct 29, 2009 6:56 pm
eww :>, dont see much of a point but i guess its not to badly coded so it gets a 5.
sk68
Comments: 61
 
mIRC Snippet:  InfoBot -- Fixed
Posted on Oct 29, 2009 7:51 pm
definitely beats the hell out of mine :D
Shinybot
Comments: 20
 
mIRC Snippet:  InfoBot -- Fixed
Posted on Nov 2, 2009 2:25 pm
Its not working
compujuckel
Comments: 1
 
mIRC Snippet:  InfoBot -- Fixed
Posted on Nov 3, 2009 12:59 pm
now its fixed, it works

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom