Top

Fun Random Damage Snippet - Updated


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  3.0
Scores Submitted  1
Date Added  Apr 26, 2007
Last Updated  Jul 25, 2007
Tags  action  damage  describe  fantasy  final  fun  game  revenge  snippet  variable 

Introduction

Yay, my 1st uploaded snippet.

Granted its not exactly complicated but it did take me a fair while to do. I have to admit TV can be very...Watchable at times :p

What it basically does is choose 2 random numbers and pits them against each other. Depending on which is higher executes the following part of the snippet. The numbers are known as %FFDamage and %OpponentHP

For example;

(18:55:47) <@One-Winged-Angel> !firaga Ronaldo
(18:55:48) * @Nero-The-Sable casts Firaga on Ronaldo and deals 7184 damage. Ronaldo has 3888 hitpoints
(18:55:48) <@Nero-The-Sable> Ronaldo you have been KO'd. As a punishment you will be used as a mop!
(18:55:50) <@One-Winged-Angel> !firaga Ronaldo
(18:55:50) * @Nero-The-Sable casts Firaga on Ronaldo and deals 2078 damage. Ronaldo has 5627 hitpoints
(18:55:51) <@Nero-The-Sable> You are lucky Ronaldo my Firaga spell only did 2078 damage. I spare you this time.

it also has protection, so if someone targets a specific nick, the person gets seriously VERB'D FF style (H)


EDIT: This has now been updated to include a variety of attacks and to add another option to the if/elseif/else thingy. Just make sure you read the instructions :)
EDIT: Added a couple timers (Finally) there should now be no mix up in the order of replies.
EDIT: Added a space betwen 2 and describe in timercast. Also changed $2 to $2- so you can have spaces, I know how annoying that can get..Added a => as theoretically if you had the same damage it would still KO them..

Grab the Code

Comments

  (6)  RSS
|MELIORITE|
Comments: 144
 
mIRC Snippet:  Fun Random Damage Snippet - Updated
Posted on Apr 26, 2007 6:48 pm
Instead of entering a nick as in $2, could it not be:

Code:
if ($2 == $me)


Then it would not matter if its loaded on a bot or person or if the current nick is changed- to avoid having to keep going into the code and altering the names?

I\'m wondering how the message and describe functions go together? Perhaps...

Code:
if ($2 == One-Winged-Angel) { msg $chan $nick $+ ! How very dare you try that.
  describe $chan casts Supernova on $nick }


could be:

Code:
if ($2 == $me) {
  msg $chan $nick $+ how dare you try that
  describe $chan casts Supernova on $nick
}

A timer there might be useful.
Spell casting with punishments... I like the idea.
BrainBryce
Comments: 55
 
mIRC Snippet:  Fun Random Damage Snippet - Updated
Posted on Apr 27, 2007 6:00 am
<Sven> !firaga bryce123456789
<bryce123456789> Sven! How very dare you try that.
* bryce123456789 casts Supernova on Sven
<Sven> !firaga o_O-
* bryce123456789 casts Firaga on o_O- and deals 6248 damage. o_O- has 188 hitpoints

Wtf?
BrainBryce
Comments: 55
 
mIRC Snippet:  Fun Random Damage Snippet - Updated
Posted on Apr 27, 2007 6:01 am
It doesnt show he got KO\'d... bad script anyway
|MELIORITE|
Comments: 144
 
mIRC Snippet:  Fun Random Damage Snippet - Updated
Posted on Apr 27, 2007 6:18 am
BrainBryce did you write a response that the nick had been KO\'d in a kickmethod.txt file?
Mushufasa
Comments: 18
 
mIRC Snippet:  Fun Random Damage Snippet - Updated
Posted on Apr 27, 2007 10:14 am
Yes, you do have to have a kickmethod.txt. Although it was originally to be designed as -v, kick, kick-ban, those sorts of things.

Anyways I\'m going to edit it soon to not only incorporate small changes by you Meliorite (Thanks for those too) but in include an assortment of spells and abilities. The only problem is theres so many of them D:
BrainBryce
Comments: 55
 
mIRC Snippet:  Fun Random Damage Snippet - Updated
Posted on Apr 27, 2007 10:26 am
suks anyway

Please Register or Login to start posting comments.
Bottom