Computersight > Programming

Guka's Commands

An introduction on Bots and mIRC scripting; plus an introduction to my Bot, GuKa, with a list of GuKa's Commands, to give you an example of what Bots are capable of.

IRC Bots are a rather fascinating thing. Many people want to make their own, but soon give up when they see how much work bots are. In fact, I almost gave up with GuKa, the bot that I made. The hard part is learning the language that bots speak. It may appear that bots speak English, but that is only half true. Bots that can be found in IRC (Internet Relay Chat) are scripted using a language called mIRC. If you are familiar with IRC, you should be familiar with mIRC, which is one of the many IRC clients. Although mIRC is not the best for inexperienced users, it is an amazing client for anyone who uses IRC a lot, and is also the only client that reads mIRC language (who would have guessed?).

About Scripting

For those of you who want to go out there and make a bot, I won’t lie, you have a lot of work cut out for you. Firstly, you must download mIRC, which can be found here: http://www.mirc.com/get.html. Once you have that installed on your computer, your best bet is to pick at the help files, which can be located under the menu tab “Help” – “Help Files” – “mirc.chm”. There are a ton of pages full of instructions on how to write scripts using the mIRC language. If you stick at it for a month, working with scripts for around 30 minutes a day, you should have the hang of it, and be able to write the more simple scripts that get the bot to say something in reply to what others say.

A Bot’s Capabilities

Bots are able to do more than anyone would think. Bots can have conversations with people. They can be scripted to reply to anything. They can reply to greetings, insults, anything you want them to. Bots can even reply to actions, if you “huggle” or “slap” a bot, it can be scripted to reply accordingly. For example, if you “slap” a bot in IRC, it can “run in a corner and cry” and say, “what was that for?” But this isn’t the limit of a bot, bots can play games with you, such as tic-tac-toe, truth or dare, hot potato, slot machines, death matches, scramble games, etc. And for those fans of RuneScape, I’m sure you’ve already seen this, but bots can be scripted to look up your characters statistics of the game.

Customizability of Bots

One of my favourite things is that you can be creative with bots, and customize the script like you’d want it. I made a script that warns a user when they swear, and gives Op & Half-Ops the choice to punish the violator. If they chose to, the script bans the person from the channel for 1 minute for each time they swore, and then unbans them. This is a very good example of a script that fits my desires. It helps warn users not to swear, and does not necessarily punish them; it leaves the choice up to the Ops and Half-Ops of the channel. Heck, you can get your bot to sing (well, say song lyrics) to anyone who joins that has “cat” anywhere in their name. Just to show you the endless possibilities of mIRC scripting.

About GuKa

GuKa is an IRC Bot that uses many scripts from various people. GuKa was created only a few months ago by an amateur scripter, Guble [who also goes by the nick |Mitch|].

Note: GuKa only joins approved channels. This is to prevent abuse. To get your channel approved, email Mitchell.Carrington@gmail.com Another Note: When you see angle brackets around text, such as or , this means you must fill in the proper name or time. Example, if you want to insult Bob, you would type = insult Bob

Op & H-Op Commands

Note: For these commands, GuKa must be at least an Op on the channel

  • Voice Gives the rank of Voice (+)
  • DeVoice Removes ’s rank of Voice (+)
  • Hop Gives the rank of Half-Op (%) [Ops Only]
  • DeHop Removes ’s rank of Halkf-Op (%) [Ops Only]
  • Kick Kicks from the channel
  • TB Time-Bans from the channel for the specified in minutes
  • KB Kick-Bans from the channel Note: If GuKa is an Admin Operator of the channel (AO), Ops can use these commands:
  • Add 3 Adds to the auto-Voice list for the channel
  • Add 4 Adds to the auto-Half-Op list for the channel
  • Add 5 Adds to the auto-Op list for the channel
  • Del Removes from the channel’s access list

Misc. Commands

  • RandFact Displays a random fact
  • Quote Displays a random quote
  • ZdzQuote Displays a funny quote from the Zdzira RuneScape Clan
  • Joke Displays a random joke
  • Seen If GuKa has seen before, it displays where and when
  • Insult Insults using an advanced vocabulary
  • Kill Attempts to kill . Various ways this can turn out
  • Teach Teaches an interesting fact
  • Page Sends your
  • GL Wishes good luck on the specified
  • Gratz Congratulates on their
  • Thx Thanks on
  • Find Invites to the channel you are on, on behalf of yourself
  • Resend Resends the last link that appeared in the channel
  • Protect Enables protection against offensive commands
  • UnProtect Disables protection against offensive commands
  • Credits Displays a list of credits to who’s scripts mine were adapted from

Custom Greet Commands

Note: A Custom Greeting makes GuKa say a message every time you join a channel with GuKa

  • SetGreet greeting Sets your greet to greeting
  • DelGreet Deletes your old greeting
  • TestGreet Tests out what your greet will look like
  • Greet Greets you with your set greet

RuneScape Commands

  • RSFact Displays a random RuneScape fact (Note: Some facts may be obsolete)
  • RSPic Displays a funny RuneScape picture
  • AddRSPic link to picture Adds your link to picture to the list of funny RuneScape pictures

Death-Match Commands

  • DM Start / Join a Death-Match [ 2 Players ]
  • Abort Ends the Death-Match
  • Score Displays your score
  • Turn Displays whose turn it is
  • Eat Heals your HP

Death-Match Attacks:

  • Pipe (Iron Pipe) Fairly strong weapon
  • DBS (Double Barrel Shotgun) Very strong, uses a lot of ammo
  • Rifle (Sniper Rifle) Fairly strong, usable when frozen
  • Shotgun (12 Gauge Shotgun) Strong, usable when frozen
  • Freeze (Liquid Nitrogen) Not very strong, but can freeze your oponent
  • DE (Desert Eagle) Weak, but is the strongest weapon if your HP is low

Slot Machine Game

Note: This game is still under construction

  • Slot Pulls the slot lever
  • Cash Displays how much Slot Credits you have

Truth or Dare Game

  • TOD Starts the Truth or Dare game
  • EndTOD Ends the Truth or Dare game
  • Truth Gives you a Truth question
  • Dare Gives you a Dare
  • Turn After you give your answer, this sets the game to ’s turn
  • AddTruth Adds your to a list that will be considered for use
  • AddDare Adds your to a list that will be considered for use

Language Commands

  • Spell Checks to see if you spelled correctly. Offers suggestions if you are incorrect.
  • Translate Translates from lang1 to lang2. [Supported Languages: English (en) French (fr) Spanish (es) Italian (it) Portuguese (pt) German (de) Dutch (nl)]
  • Slang Looks up slang definitions of your . Warning: Some may be offensive.
  • Define Defines the . If the is not defined, you may define it
  • SetDefine Sets a definition for the
4
Liked It
I Like It!
More Articles by Mitchell Carrington
10 Amazing Itunes Features
Latest Articles in Programming
SQL and Databases  |  Why Solidworks?
Comments (3)
#1 by Rok roll93, May 12, 2008
I know how great you are in programming such scripts, and I bet GuKa's a great I-Bot!
#2 by Rok roll93, May 12, 2008
Oh, and I'm also aware of the naming, Guble + Kaper = GuKa

:D ;)
#3 by irish, May 12, 2008
great bot here guys follow this to make ur own master bot
Post Your Comment:
Name:  
Copy the code into this box:  
Inside Computersight

Communication & Networks

 /

Computers

 /

Hardware

 /

Operating Systems

 /

Programming

 /

Software


Popular Tags
Popular Writers
Computersight
About Us
Terms of Use
Privacy Policy
Services
Submit an Article
Advertise with Us
Contact

© 2007 Copyright Stanza Ltd. All Rights Reserved.