-.-FightClub V1.0-.-

By SL on Jul 27, 2004

1st of all I have to thank CoNvIcT for the idea...he posted the script in a help section of hawkee and I kinda rescripted it to work like it is working now...Any ideas or comments on this is welcome

;  / \  | |
;  |||  | |
;   \\  | |
;  |||  | |__
;  \ /  |____|
;snippet : -.-FightClub V1.0-.-
;server : irc.4everlost.co.za
;room : #slc
;webpage : http://slchat.50megs.com/Home.htm
;Date codded : 27/07/2004
on 1:TEXT:!Fight*:#: {
  if ($2 == $null) { notice $nick You need to allso have a nick after you tupe !Fight | halt }
  if ($2 != $null) {
    if ($2 ison #) {
      if ($2 == $nick) { notice $nick Do you allways fight you'reself? | halt }
      if ($2 != $nick) {
        set %fight $rand(1,4)
        if (%fight = 1) goto ko
        if (%fight = 2) goto win
        if (%fight = 3) goto draw
        if (%fight = 4) goto lose
        :ko
        set %kos $calc($readini(FightClub.ini, $nick, KOS) + 1)
        set %kos2 $calc($readini(FightClub.ini, $2, LOSES) + 1)
        notice $nick You Kicked $2 $+ 's Ass $nick With A K.O!
        writeini -n FightClub.ini $nick KOS %kos
        writeini -n FightClub.ini $2 LOSES %kos2
        unset %fight %kos %kos2
        halt
        :win
        set %wins $calc($readini(FightClub.ini, $nick, WINS) + 1)
        set %wins2 $calc($readini(FightClub.ini, $2, LOSES) + 1)
        notice $nick Well Done You Kicked $2 $+ 's Ass!!
        writeini -n FightClub.ini $nick WINS %wins
        writeini -n FightClub.ini $2 LOSES %wins2
        unset %fight %wins %wins2
        halt
        :draw
        set %draws $calc($readini(FightClub.ini, $nick, DRAWS) + 1)
        set %draws2 $calc($readini(FightClub.ini, $2, DRAWS) + 1)
        notice $nick Good Fight $nick But $2 Held Out And Got A Draw!!
        writeini -n FightClub.ini $nick DRAWS %draws
        writeini -n FightClub.ini $2 DRAWS %draws2
        unset %fight %draws %draws2
        halt
        :lose
        set %loses $calc($readini(FightClub.ini, $nick, LOSES) + 1)
        set %loses2 $calc($readini(FightClub.ini, $2, WINS) + 1)
        notice $nick It Seems That $2 Was Too Tough For You $nick $+ ! You Lost! 
        writeini -n FightClub.ini $nick LOSES %loses
        writeini -n FightClub.ini $2 WINS %loses2
        unset %fight %loses %loses2
        halt
      }
    }
    else { Notice $nick Do you see $2 in $chan now $nick $+ , How do u wanna fight $2 then? }
  }
}
on 1:TEXT:!FCHelp:#: {
  notice $nick Welcome To 4Fight Club The Only Rules In Fight Club Are: "Do Not Tell Anyone About Fight
  notice $nick Club ... If You Think You Have What It Takes ... Pick An Apponent And Fight!!! Just Type 12!Fight <nick> ... To See Fighters
  notice $nick Statistics Type 12!FCStats <nick> ... To See The Top 10 Fighters Type 12!FCTop10
}
on 1:TEXT:!FCStats*:#: {
  set %ko $readini(FightClub.ini, $2, KOS)
  set %win $readini(FightClub.ini, $2, WINS)
  set %lose $readini(FightClub.ini, $2, DRAWS)
  set %draw $readini(FightClub.ini, $2, LOSES)
  notice $nick Total KO's - %ko
  notice $nick Total Wins - %win
  notice $nick Total Lost - %lose
  notice $nick Total Draw's - %draw
  unset %ko %win %lose %draw
}

Comments

Sign in to comment.
Pangaea   -  Jun 15, 2007

ummm

i can see this thread dosent like certain charecters

if everybody can draw their attention to the 2nd last line .. the line starting with \"Lost\" that square charectre before the 2 should also be before the \"10\" \"3\" and \"12\"

im just worried, if pasting the code this way means theres other chrectres missing from other areas of the code :/

why dose this happen?

 Respond  
Pangaea   -  Jun 15, 2007

there should be a before the \"10\" \"3\" \"12\" on the last msg. $chan line

i dont know wht this thread decided to edit them out?

 Respond  
Pangaea   -  Jun 15, 2007

hey all, ltnc this thread.... anyway, made a few tweeks to the script... made it all less likey to flood... also made nicer colors,
and a public inchan fcstats (cut down to one line, and nice colors)

Great original code though, well done.. its getting lots of use in my chans..... However... you seem to be missing the code for:

on 1:TEXT:!FCTop10*:#: {

??

Im only learning scripting so i dont think ide be able to fill in that gap... i dont see any other reference to work off in other parts of the code, whitch is making it even harder.... but im looking through some other scripts with top10 features, to see if i can somhow implement it into this fight club one... anyway ill post the fixed fctop10 if and when i do it!

In the mean time heres the slightly improved fight club:

; / \ | |
; ||| | |
; \\ | |
; ||| | |
; \ / |__
|
;snippet : -.-FightClub V1.0-.-
;server : irc.4everlost.co.za
;room : #slc
;webpage : http://slchat.50megs.com/Home.htm
;Date codded : 27/07/2004 (revised june 07)
on 1:TEXT:!Fight:#: {
if ($2 == $null) { notice $nick You need to also have a nick after you type !Fight | halt }
if ($2 != $null) {
if ($2 ison #) {
if ($2 == $nick) { .msg $chan 4$nick ??? 1What the feck are you doing? ... ill kick your ass if u want, but please stop hitting your self with that teaspoon... u look stupid! | halt }
if ($2 != $nick) {
set %fight $rand(1,4)
if (%fight = 1) goto ko
if (%fight = 2) goto win
if (%fight = 3) goto draw
if (%fight = 4) goto lose
:ko
set %kos $calc($readini(FightClub.ini, $nick, KOS) + 1)
set %kos2 $calc($readini(FightClub.ini, $2, LOSES) + 1)
.msg $chan $nick !!! u certainly kicked $2 $+ \'s Ass $nick With a 4K.O!
writeini -n FightClub.ini $nick KOS %kos
writeini -n FightClub.ini $2 LOSES %kos2
unset %fight %kos %kos2
halt
:win
set %wins $calc($readini(FightClub.ini, $nick, WINS) + 1)
set %wins2 $calc($readini(FightClub.ini, $2, LOSES) + 1)
.msg $chan $nick Well Done!! you completely destroyed $2 $+ 4you win!!!
writeini -n FightClub.ini $nick WINS %wins
writeini -n FightClub.ini $2 LOSES %wins2
unset %fight %wins %wins2
halt
:draw
set %draws $calc($readini(FightClub.ini, $nick, DRAWS) + 1)
set %draws2 $calc($readini(FightClub.ini, $2, DRAWS) + 1)
.msg $chan $nick Good Fight $nick But $2 Managed to keep this fight to a 4Draw!!
writeini -n FightClub.ini $nick DRAWS %draws
writeini -n FightClub.ini $2 DRAWS %draws2
unset %fight %draws %draws2
halt
:lose
set %loses $calc($readini(FightClub.ini, $nick, LOSES) + 1)
set %loses2 $calc($readini(FightClub.ini, $2, WINS) + 1)
.msg $chan $nick isnt on form today $2 kicked his ass.... $nick.. 4you loose!!!
writeini -n FightClub.ini $nick LOSES %loses
writeini -n FightClub.ini $2 WINS %loses2
unset %fight %loses %loses2
halt
}
}
else { Notice .msg $chan $nick Do you see $2 in $chan now $nick $+ , How do u wanna fight $2 then? }
}
}
on 1:TEXT:!FCHelp:#: {
.msg $chan heya $nick & Welcome To 4ight Club No handbags!, No Pulling hair!, No Expolosives (fun snaps are allowd) !!! Just Type 12!Fight ... to start a fight!.. note: u damage the chan furniture, u pay for it.
.msg $chan Statistics Type 12!FCStats ... To See The Top 10 Fighters Type 12!FCTop10
}
on 1:TEXT:!FCStats
:#: {
set %ko $readini(FightClub.ini, $2, KOS)
set %win $readini(FightClub.ini, $2, WINS)
set %lose $readini(FightClub.ini, $2, DRAWS)
set %draw $readini(FightClub.ini, $2, LOSES)
.msg $chan 10Total KO\'s - %ko - 3Total Wins - %win - 12Total Lost - %lose - 2Total Draw\'s - %draw
unset %ko %win %lose %draw
}
}

 Respond  
Pangaea   -  Nov 19, 2006

How the hell dose this work.. ive tryed everything.. including giving it to other to try it... none of the triggers have any responce AT ALL

i made a new remote.. pasted the script in... saved & loaded it onto my bot
when trying for eg. !fight joeblogs nuthing happens??!?!?!?
ive given this code to other... and they cant get it to work either.. it a piece of dud shit.

 Respond  
Da_DoN   -  Sep 30, 2004

well done SL, and good luck in ur newer version

 Respond  
SL   -  Aug 29, 2004

I\'m currantly working on it, Starting in a few hours, got an idea to make it really good...or hope so, it will be more advanced, fights will last longer and player will have health, anyhow it might tae a while but I will do it as soon as posible

 Respond  
bourneident   -  Aug 10, 2004

nice but need more to it gets kinda boring real fast needs to get a little more indepth make fight last longer add more interaction for players etc. good work so far though

 Respond  
Kobra   -  Aug 05, 2004

very good, but can be flooded and Fctop10 doesnt work

 Respond  
bravado   -  Jul 28, 2004

rule #1 dont use fight club rule #2 dont talk about the script rule #3 DONT talk about THIS script!

 Respond  
CoNvIcT   -  Jul 27, 2004

Thanks For The Mention SL But Without You Helping There Would Be No \"Fight Club\" lol

 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.