Pangaea commented on a Page, -.-FightClub V1.0-.-  -  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  
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.