Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;; >> Connection EVENT ;;;
- ON *:CONNECT: {
- if ($setread(settings,password)) { .timer 1 2 .msg NickServ identify $v1 }
- if ($setread(settings,channel)) { .timer 1 3 join $v1 }
- }
- ;;; << Connection EVENT ;;;
- ;;; >> Joining EVENT ;;;
- ON *:JOIN:$($setread(settings,channel)): {
- if ($nick == $setread(settings,refbot)) { msg $nick !identify $setread(settings,password) }
- }
- ;;; << Joining EVENT ;;;
- ;;; >> Noticing EVENT ;;;
- ON *:NOTICE:*:?: {
- if ($nick !== $setread(settings,refbot)) { return }
- tokenize 32 $strip($1-)
- if (*pick another move* iswm $1-) { unset %down | movetodo large }
- if (*please identify!* iswm $1-) { msg $nick !identify $setread(settings,password) | msg $nick !AI ON }
- if (*any more finishers*different move* iswm $1-) { unset %down | set %finishers used | .timer 1 2 movetodo large }
- if (*now your turn* iswm $1-) { unset %down %knocked_opponent | .timer 1 3 msg $setread(settings,channel) !h }
- if (*you need to knock* iswm $1-) { set %movetodo large | unset %down | .timer 1 3 msg $setread(settings,channel) !h }
- if (*still your* iswm $1-) { unset %down | .timer 1 3 msg $setread(settings,channel) !h }
- if (*enough*cash*in*your*bank*account* iswm $1-) {
- msg $setread(settings,channel) 00,03What the hell, fam! I'm too broke for a god damn healme card? WEAK STUFF!
- msg $setread(settings,channel) 00,03Please donate to the *AUTO BOT* fund. Need to buy perks to beat your lame asses! :D
- }
- }
- ;;; << Noticing EVENT ;;;
- ;;; >> Texting EVENT ;;;
- ON *:TEXT:*:$($setread(settings,channel)): {
- tokenize 32 $strip($1-)
- if ($1 == !aimatch) { msg $chan 01,07Match types I can do:0 !KnockOut01,0 !Hardcore01,0 !eXtreme01,0 !Regular01,0 !BarbedWire01, 0!FirstBlood01. }
- if ($1 == !AutoBot) {
- if (!$2) { notice $nick 02Correct syntax is: !AutoBot ON/OFF, ID , Regular, Hardcore, eXtreme or Roulette. | return }
- if ($2 == id) { msg $setread(settings,refbot) !Identify $setread(settings,password) | msg $setread(settings,channel) 00,03Authentification in progress... }
- if ($2 == regular) { msg $setread(settings,channel) !match Regular 1on1 Pentagon $nick crowd/off none none | unsetall }
- if ($2 == hardcore) { msg $setread(settings,channel) !match Hardcore 1on1 Pentagon $nick crowd/off none none | unsetall }
- if ($2 == eXtreme) { msg $setread(settings,channel) !match eXtreme 1on1 Pentagon $nick crowd/off none none }
- if ($2 == Table) { msg $setread(settings,channel) !match Table 1on1 Pentagon $nick crowd/off none none }
- if ($2 == BoilerRoom) { msg $setread(settings,channel) !match BoilerRoom 1on1 Pentagon $nick crowd/off none none }
- if ($2 == off) && ($nick == $setread(settings,owner)) {
- msg $setread(settings,channel) 15,03Setting mode *OFFLINE* by $nick $+ .
- away 04I'm now *OFF*, please wait until my owner sets me back *ON*
- nick $setread(settings,botnick) $+ [OFF]
- }
- if ($2 == on) && ($nick == $setread(settings,owner)) {
- msg $setread(settings,channel) 15,03Setting mode *ONLINE* by $nick $+ .
- away
- nick $setread(settings,botnick)
- nsident
- msg $setread(settings,refbot) !identify $setread(settings,password)
- }
- if ($2 == roulette) {
- var %rand = $rand(1,3)
- if (%rand == 1) { msg $setread(settings,channel) !match regular 1on1 Pentagon $nick crowd/off none none }
- if (%rand == 2) { msg $setread(settings,channel) !match hardcore 1on1 Pentagon $nick crowd/off none none }
- if (%rand == 3) { msg $setread(settings,channel) !match eXtreme 1on1 Pentagon $nick crowd/off none none }
- }
- }
- if ($1 == !match) {
- if ($chr(36) isin $1-) { return }
- set %int interference:off
- if (%match) { return }
- if ($me !isin $1-) { return }
- if (%off) { .timer 1 2 msg $chan !stop | return }
- if (health:off isin $1-) { .timer 1 2 msg $chan !stop | .timer 1 2 msg $chan 07,01I cannot fight 00health:off07 matches. | return }
- if (FlamingTable isin $1-) { .timer 1 2 msg $chan !stop | .timer 1 2 msg $chan 07,01I cannot fight 00FlamingTable07 matches. | return }
- if (Casket isin $1-) { .timer 1 2 msg $chan !stop | .timer 1 2 msg $chan 07,01I cannot fight 00Casket07 matches. | return }
- if (Submission isin $1-) { .timer 1 2 msg $chan !stop | .timer 1 2 msg $chan 07,01I cannot fight 00Submission07 matches. | return }
- if (interference:off !isin $1-) { .timer 1 2 msg $chan !stop | .timer 1 2 msg $chan 07,01I cannot fight 00Interference:On07 matches. | return }
- if (hardcore 1on1 !isin $1-) && (hardcore barbedwire !isin $1-) && (hardcore submission !isin $1-) && (boilerroom 1on1 !isin $1-) && (hardcore firstblood !isin $1-) && (regular 1on1 !isin $1-) && (knockout 1on1 !isin $1-) && (table 1on1 !isin $1-) && (Interference:off !isin $1-) && (ironman 1on1 !isin $1-) && (strap 1on1 !isin $1-) {
- .timer 1 2 msg $chan !stop
- .timer 1 2 msg $chan 07,01I cannot fight 00This type07 of match.
- return
- }
- }
- if ($nick !== $setread(settings,refbot)) { return }
- if (* $+ $me $+ *Not*Identified* iswm $1-) { msg $nick !identify $setread(settings,password) }
- if (*submission on $me $+ * iswm $1-) { .timer 1 4 describe $chan attempts to slip out of the submission. | .timersubbycheck 1 3 msg $chan !h }
- if (*slammed the steel boiler room door shut*unable to escape* iswm $1-) { unset %down | set %boilerdoor closed }
- if (*has just opened the boiler room door* iswm $1-) { unset %down | set %boilerdoor open }
- if (*has just closed the boiler room door* iswm $1-) { unset %down | set %boilerdoor closed }
- if (*just put his opponent on the stretcher* iswm $1-) { unset %down | set %stretcher on | describe $chan climbs off the stretcher }
- if (*managed to get off the stretcher* iswm $1-) { unset %down %stretcher }
- if (*managed to avoid being pushed over the line* iswm $1-) { unset %down | describe $chan climbs off the stretcher | set %stretcher on }
- if (*has just shoved the referee down* iswm $1-) { unset %down | describe $chan wakes ref }
- if (*is taking too long to move* $+ $me $+ *turn* iswm $1-) { unset %down | .timer 1 2 movetodo striking }
- if (*sent reeling* $+ $me $+ *another move* iswm $1-) { unset %down | .timer 1 3 msg $chan !h }
- if (* $+ $me $+ *whipped*into the ropes*next move* iswm $1-) { unset %down | .timer 1 6 msg $chan !h }
- if (*wasn't able to get that weapon move off* $+ $me make a move now* iswm $1-) { unset %down }
- if (*DING*DING*Your*Winner* iswm $1-) && (!%entrancescam) { unsetall }
- if (*has just brought a table into the ring* iswm $1-) { unset %down | inc %tablein }
- if (*the current match is being called off* iswm $1-) { unsetall }
- if (* $+ $me was able*to*stay*offensive* iswm $1-) { unset %down | .timer 1 3 msg $chan !h }
- if (* $+ $me make a move now* iswm $1-) { set %down on | .timer 1 3 msg $chan !h }
- if (*sustained a mild injury during this match* iswm $1-) && ($me isin $1-) {
- msg $setread(settings,channel) !buy HealMe-Card
- .timer 1 10 msg $setread(settings,channel) !healme
- .timer 1 11 msg $setread(settings,channel) 15,03Ahh... feeling much better now! That was a 08MILD15 injury, no biggie!
- }
- if (*sustained a serious injury during this match* iswm $1-) && ($me isin $1-) {
- msg $setread(settings,channel) !buy HealMe-Card
- .timer 1 10 msg $setread(settings,channel) !healme
- .timer 1 11 msg $setread(settings,channel) 15,03Ahh... feeling much better now. That was a 08SERIOUS15 injury, bruv!
- }
- if (*DING...DING...DING...*Your Winner* $+ $me $+ * iswm $1-) {
- unsetall
- unset %movetodo
- unset %downsick
- unset %down
- var %txt = $mircdir $+ ai\GMquote.txt
- if (!$file(%txt)) { return }
- .timerupdatemsg 1 3 msg $chan $+ $read(%txt) $+
- }
- if (*knocked* $+ $me $+ *another move* iswm $1-) {
- set %down on
- set %knocked_opponent 1
- if (%match == table) { .timer 1 5 msg $chan !h | return }
- if (%match == strap) { .timer 1 3 describe $chan tries to touch a turnbuckle. | return }
- .timer 1 2 msg $chan !h
- }
- if (*unable*deliver that move.* $+ $me $+ *should make a move now* iswm $1-) {
- set %down on
- if (%match == table) { .timer 1 8 msg $chan !h | return }
- if (%match == strap) { .timer 1 3 describe $chan tries to touch a turnbuckle. | return }
- .timer 1 3 msg $chan !h
- }
- if (*from getting off the stretcher* iswm $1-) {
- unset %down
- describe $chan climbs of the stretcher
- describe $chan pushes his opponents stretcher accross the finish line
- set %stretcher on
- }
- if (*match*called off* iswm $1-) { unsetall | unset %move }
- if (*vs*crowd*title* iswm $1-) {
- if ($chr(36) isin $1-) { return }
- if (%match) { return }
- if ($me !isin $1-) { return }
- unsetall
- if (hardcore isin $1-) { set %match hardcore }
- if (regular isin $1-) { set %match regular }
- if (barbedwire isin $1-) { set %match barbedwire }
- if (deathmatch isin $1-) { set %match deathmatch | set %nopin on }
- if (firstblood isin $1-) { set %match firstblood | set %nopin on }
- if (knockout isin $1-) { set %match knockout | set %nopin on }
- if (ironman isin $1-) { set %match hardcore }
- if (table isin $1-) { set %match table | set %nopin on | set %tablein 0 | set %tableset 0 }
- if (strap isin $1-) { set %match strap | set %nopin on | set %nowhip on }
- if (boiler room isin $1-) { set %match boiler | set %nopin on | set %boilerdoor closed }
- if (eXtreme 1on1 isin $1-) { set %match extreme | .timercheck 1 3 msg $setread(settings,channel) !h }
- if (Stretcher isin $1-) { set %match stretcher | set %nopin on }
- .timer 1 4 movetodo striking
- set -u10 %entrancescam activated
- }
- if (*has just set a table up*watch out* iswm $1-) {
- unset %down
- inc %tableset
- dec %tablein
- if (%tablein < 0) { set %tablein 0 }
- }
- if (*just cleared*table out of the ring* iswm $1-) {
- unset %down
- dec %tablein
- if (%tablein < 0) { set %tablein 0 }
- }
- if (*has just knocked*table over* iswm $1-) {
- unset %down
- dec %tablese
- if (%tableset < 0) { set %tableset 0 }
- }
- if (*has been put through a table* iswm $1-) {
- unset %down
- dec %tableset
- if (%tableset < 0) { set %tableset 0 }
- }
- if (*Health:* iswm $1-) {
- if ($chr(36) isin $1-) { return }
- if (* $+ $me $+ (TURN)* !iswm $1-) { return }
- if ($removecs($gettok($1-,2,32),(TURN)) == $me) {
- var %opponent = $removecs($gettok($gettok($1-,4,58),2,32),(TURN))
- var %hp = $remove($gettok($gettok($1-,5,58),1,91),$chr(40))
- var %myhp = $remove($gettok($gettok($1-,3,58),1,91),$chr(40))
- var %fins = $remove($gettok($gettok($1-,6,32),2,91),$chr(93),$chr(41))
- var %myfins = $remove($gettok($gettok($1-,3,32),2,91),$chr(93),$chr(41))
- }
- else {
- var %opponent = $removecs($gettok($gettok($1-,2,58),1,32),(TURN))
- var %hp = $remove($gettok($gettok($1-,3,58),1,91),$chr(40))
- var %myhp = $remove($gettok($gettok($1-,5,58),1,91),$chr(40))
- var %fins = $remove($gettok($gettok($1-,3,32),2,91),$chr(93),$chr(41))
- var %nyfins = $remove($gettok($gettok($1-,6,32),2,91),$chr(93),$chr(41))
- }
- ; msg $chan DEBUG: % $+ opponent == %opponent ----- % $+ hp == %hp ----- % $+ fins == %fins ----- % $+ myhp == %myhp ---- % $+ myfins == %myfins
- if (%hp isnum 90-100) { movetodo striking | return }
- if (%hp isnum 85-89) { movetodo small | return }
- if (%hp isnum 75-84) { movetodo smallmedium | return }
- if (%hp isnum 70-74) { movetodo medium | return }
- if (%hp isnum 65-69) { movetodo mediumlarge | return }
- if (%hp isnum 34-64) { movetodo large | return }
- if (%hp isnum 33-0) {
- if (%myfins) { movetodo finisher | return }
- if (!%knocked_opponent) { movetodo large }
- return
- }
- if (%hp < 0) {
- ; msg $chan % $+ hp IS LOWER THAN 0 --- TRIGGER! ----- % $+ myhp == %myhp ---- % $+ hp == %hp ----
- if (%hp < %myhp) && (%knocked_opponent) {
- ; msg $chan TRIGGER LOWER LIFE -- % $+ knocked_opponent == %knocked_opponent --- % $+ nopin == %nopin
- if (!%nopin) { movetodo pin }
- return
- }
- if (%finishers !== used) { movetodo finisher | return }
- if (%hp >= %myhp) {
- if (%match == boiler) { boilerchecklose | return }
- if (%match == stretcher) { stretcherchecklose | return }
- if (%match == deathmatch) { describe $chan $iif(%down == on,throws barbedwire board,throws barbedwire) | return }
- if (%match == table) {
- var %rand = $rand(1,6)
- if (%rand == 1) { movetodo large }
- else { tablechecklose }
- return
- }
- movetodo large
- ;movetodo $iif(%nopin == on,large,pin)
- return
- }
- if (%match == boiler) { boilercheckwin | return }
- if (%match == stretcher) { stretchercheckwin | return }
- if (%match == deathmatch) { describe $chan $iif(%down == on,asks to quit,throws barbedwire board) | return }
- if (%match == table) {
- var %rand = $rand(1,6)
- if (%rand == 1) { movetodo large }
- else { tablecheckwin }
- return
- }
- movetodo $iif(%nopin == on,large,pin)
- }
- }
- }
- ;;; << Texting EVENT ;;;
- ;;; >> Aliases ;;;
- alias setread { return $readini(settings.ini,n,$1,$2) }
- alias movetodo {
- unset %down
- if ($1 == striking) {
- if (%match == extreme) { set %move chair }
- if (%match == boiler) { set %move chair }
- if (%match == firstblood) { set %move slap }
- if (%match == barbedwire) { set %move drags face }
- if (%match == deathmatch) { set %move drags face }
- if (%match == table) { set %move slap }
- if (%match == hardcore) { set %move slap }
- if (%match == regular) { set %move dropkicks }
- if (%match == strap) { set %move chokes strap }
- if (%match == knockout) { set %move slaps }
- if (%match == stretcher) { set %move slaps }
- describe $setread(settings,channel) %move
- }
- if ($1 == small) {
- if (%match == regular) { describe $setread(settings,channel) trip | return }
- if (%match == deathmatch) { describe $setread(settings,channel) drags face | return }
- if (%match == strap) { set %move chokes strap }
- var %rand = $rand(1,5)
- if (%rand == 1) { set %move $iif(%match == barbedwire,tries to drag his opponent's face across the barbedwire.,chair.) }
- if (%rand == 2) { set %move $iif(%match == boiler,tries to connect with the steel chair!,chair.) }
- if (%rand == 3) || (%rand == 4) { set %move $iif(%match = strap,tries to choke his opponent with the leather strap,chair.) }
- if (%rand == 5) { set %move $iif(%match == firstblood,chair.,tries a headbutt.) }
- describe $setread(settings,channel) %move
- }
- if ($1 == smallmedium) {
- if (%match == regular) { describe $setread(settings,channel) DDT | return }
- if (%match == deathmatch) { describe $setread(settings,channel) drags face | return }
- if (%match == strap) { set %move chokes strap }
- var %rand = $rand(1,4)
- if (%rand == 1) || (%rand == 2) { set %move $iif(%match == barbedwire,tries to drag his opponent's face across the barbedwire.,chair.) }
- if (%rand == 3) { set %move $iif(%match == boiler,tries to connect with the steel chair!,chair.) }
- if (%rand == 4) { set %move $iif(%match = strap,tries to choke his opponent with the leather strap,chair.) }
- describe $setread(settings,channel) %move
- }
- if ($1 == medium) {
- if (%match == regular) { describe $setread(settings,channel) PowerSlam | return }
- if (%match == deathmatch) { describe $setread(settings,channel) drags face | return }
- if (%match == strap) { set %move chokes strap }
- var %rand = $rand(1,3)
- if (%rand == 1) || (%rand == 2) { set %move $iif(%match == barbedwire,tries to drag his opponent's face across the barbedwire.,chair.) }
- if (%rand == 3) { set %move $iif(%match = strap,tries to choke his opponent with the leather strap,chair.) }
- describe $setread(settings,channel) %move
- }
- if ($1 == mediumlarge) {
- if (%match == regular) { describe $setread(settings,channel) brainbuster | return }
- if (%match == deathmatch) { describe $setread(settings,channel) throws barbedwire board | return }
- if (%match == strap) { set %move chokes strap }
- var %rand = $rand(1,5)
- if (%rand == 1) || (%rand == 2) || (%rand == 3) { set %move $iif(%match == barbedwire,tries to drag his opponent's face across the barbedwire.,chair.) }
- if (%rand == 4) { set %move $iif(%nowhip == on,looks to deliver the fisherman's suplex.,goes for the irish whip.) }
- if (%rand == 5) { set %move $iif(%match = strap,tries to choke his opponent with the leather strap,chair.) }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- if ($1 == large) {
- if (%match == regular) { describe $setread(settings,channel) spear | return }
- if (%match == deathmatch) { describe $setread(settings,channel) throws barbedwire board | return }
- if (%match == stretcher) { set %move chair | return }
- if (%match == strap) { set %move spear }
- var %rand = $rand(1,8)
- if (%rand == 1) { set %move $iif(%nowhip == on,tries the jackhammer!,goes for the irish whip.) }
- if (%rand == 2) { set %move $iif(%match == barbedwire,tries to drag his opponent's face across the barbedwire.,is looking to deliver the powerbomb.) }
- if (%rand == 3) { set %move $iif(%match == barbedwire,tries to drag his opponent's face across the barbedwire.,attempts to go sky high!) }
- if (%rand == 4) { set %move $iif(%match == barbedwire,tries to drag his opponent's face across the barbedwire.,is going for the lionsault!) }
- if (%rand == 5) { set %move $iif(%match == boiler,tries to connect with the steel chair!,goes for the tiger driver.) }
- if (%rand == 6) { set %move $iif(%match == hardcore,tries to connect with the steel chair!,tries to connect with the twist of fate!) }
- if (%rand == 7) { set %move $iif(%match == hardcore,goes for the chair shot!,is looking to nail the spear!) }
- if (%rand == 8) { set %move $iif(%match = strap,tries to choke his opponent with the leather strap,spear.) }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- if ($1 == finisher) {
- var %rand = $rand(1,7)
- if (%rand == 1) { set %move boots his opponent in the gut, looking for the stone cold stunner! }
- if (%rand == 2) { set %move boots his opponent in the gut, setting them up for the pedigree! }
- if (%rand == 3) { set %move is sizing up his opponent, looking to end it with the devastating gore! }
- if (%rand == 4) { set %move stomps the mat, looking for some sweet chin music! }
- if (%rand == 5) { set %move goes for the perfectplex! }
- if (%rand == 6) { set %move $iif(%nowhip == on,goes for the F-5!,stunner.) }
- if (%rand == 7) { set %move $iif(%match == hardcore,goes for the stunner,stunner!) }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- if ($1 == pin) {
- var %rand = $rand(1,3)
- if (%rand == 1) { set %move goes for the sunset flip. }
- if (%rand == 2) { set %move goes for the schoolboy. }
- if (%rand == 3) { set %move goes for the cradle pin. }
- .timer 1 3 describe $setread(settings,channel) %move
- unset %down
- }
- }
- alias tablecheckwin {
- if (%tableset >= 1) {
- unset %down
- set %move tables
- .timer 1 3 describe $setread(settings,channel) %move
- if (%finishers == used) { movetodo large }
- }
- if (%tableset < 1) {
- if (%down !== on) { movetodo large | return }
- unset %down
- if (%tablein < 1) { set %move tries to get a table. }
- if (%tablein >= 1) { set %move tries to set a table. }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- }
- alias tablechecklose {
- if (%down !== on) { movetodo large | return }
- unset %down
- if (%tableset < 1) && (%tablein < 1) { movetodo large | return }
- if (%tableset >= 1) {
- var %rand = $rand(1,3)
- if (%rand == 1) { movetodo large }
- else { set %move tries to knock a table over. }
- }
- if (%tableset < 1) && (%tablein >= 1) {
- var %rand = $rand(1,3)
- if (%rand == 1) { movetodo large }
- else { set %move tries to clear a table from the ring. }
- }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- alias boilercheckwin {
- if (%boilerdoor == open) {
- unset %down
- var %rand = $rand(1,8)
- if (%rand == 1) { movetodo large }
- else { set %move heads for the door, trying to leave the boiler room. }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- if (%down !== on) { movetodo large | return }
- unset %down
- set %move opens the boiler room door.
- .timer 1 3 describe $setread(settings,channel) %move
- }
- alias stretchercheckwin {
- if (%stretcher == on) {
- unset %down
- var %rand = $rand(1,8)
- if (%rand == 1) { movetodo large }
- else { set %move pushes his opponent's stretcher accross the finish line. }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- if (%down !== on) { movetodo large | return }
- unset %down
- set %move puts his opponent onto the stretcher.
- .timer 1 3 describe $setread(settings,channel) %move
- }
- alias stretcherchecklose {
- if (%stretcher !== on) { movetodo large | return }
- if (%stretcher == on) && (%down !== on) { movetodo large | return }
- if (%stretcher == on) && (%down == on) {
- unset %down
- var %rand = $rand(1,6)
- if (%rand == 1) { movetodo large | return }
- if (%rand == 2) { set %move pushes his opponents stretcher accross the finish line. }
- if (%rand >= 3) { set %move climbs off the stretcher. }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- }
- alias boilerchecklose {
- if (%boilerdoor !== open) { movetodo large | return }
- if (%boilerdoor == open) && (%down !== on) { movetodo large | return }
- if (%boilerdoor == open) && (%down == on) {
- unset %down
- var %rand = $rand(1,6)
- if (%rand == 1) { movetodo large | return }
- if (%rand == 2) { set %move heads for the door, trying to leave the boiler room. }
- if (%rand >= 3) { set %move tries to close the door. }
- .timer 1 3 describe $setread(settings,channel) %move
- }
- }
- ;;; << Aliases ;;;
- ; -------------- eof ------------
Add Comment
Please, Sign In to add comment