Bot Percentage commands

Platform:  mIRC
Published  Mar 05, 2010
Updated  Mar 05, 2010
This script allows user to be able to use commands with a percentage outcome, but this is a random one, so dont be put off it decides to give you a lower percentage, this script is brief so feel free to add a flood limit or timer for each person :D
This command is for a bot so dont add it to yourself :P
Add it to remotes and type !cmds(makes sure you type the nick after each commands e.g. "
"""""""""""""""""""""""""""""""""
Person1: !evil person2
Bot: Person1 is **% evil
"""""""""""""""""""""""""""""""""
Enjoy
:P
Please rate and comment :D
Update----------------------------
A new version and simpler version has been added :D on 1:TEXT:*:#: {
if ($1 == !cmds) { msg $nick Commands are the following: !evil !gay !sexy !retard !fat !wiegh !smart !newb !jealous !love }
if ($1 == !evil) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % Evil }
if ($1 == !gay) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % gay }
if ($1 == !sexy) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % sexy }
if ($1 == !retard) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % Retarded }
if ($1 == !fat) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % over weight }
if ($1 == !n00b) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % N00b }
if ($1 == !Smart) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % Smart }
if ($1 == !Jealous) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % Jealous of $3- }
if ($1 == !love) { msg $Chan 4,1 $+ $2- is $rand(0,100) $+ % love of $3- }
}
}

Comments

Sign in to comment.
Snip3KitTy   -  Mar 06, 2010
also, it fails to display the name of the person who is typing the command you could always just use this:

Code
 
 Respond  
Jethro   -  Mar 05, 2010
Yeah napa. I find goto easier and convenient than using a bunch of if statements lately...
And yes, I overlooked the $3 in the jealous and love. :p
Then again, goto has been looked down upon by quite a few folks here for being confusing and stuff...
I have nothing against people's likes and disdain, but just to throw my two cents in is all. :-)
 Respond  
napa182   -  Mar 05, 2010
lol Jethro_ you seem to be on a goto kick lately... you forgot about the Jealous of $3 and love of $3 in them 2

using Jethro_'s version of it. maybe change this line
Code
 
.

to
Code
 


just so if !$2 it uses $nick and as well the jealous & love part.

but w/e
 Respond  
Jethro   -  Mar 05, 2010
Why made it complicated when you could do:
Code
 
 Respond  
Slickone   -  Mar 05, 2010
why not just
Code
 
 Respond  
FullMetalAlchemist   -  Mar 05, 2010
True, but like I said in the comment "this script is brief "
But thanks for the opinion :D
 Respond  
GuitarMasterx7   -  Mar 05, 2010
you do not need all the on text events
u can use if statements

such as

Code
 
 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.