This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Mrc script to tcl

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
i
ismail
Voice
Posts: 4
Joined: Thu Sep 01, 2016 12:13 pm

Mrc script to tcl

Post by ismail »

hi i need help with a game bot some of my friend made me a game mirc script but he dosnt know how to make tcl can anyone help me please ?
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

If you don't post a code how could someone help you out? Guess what the code might be?
Once the game is over, the king and the pawn go back in the same box.
i
ismail
Voice
Posts: 4
Joined: Thu Sep 01, 2016 12:13 pm

Post by ismail »

Code: Select all

on *:TEXT:!cricket:#: {
  msg # 7Single Player Cricket match started.  $nick  Now Type !bat to play as Batsman.  
  set %sbat $addtok(%sbat,$nick,32)  
}

ON *:TEXT:!bat:#: {
  if (!$istok(%sbat,$nick,32)) { msg $chan [ $+ $nick $+ ]: 4,15Error, You are not a Batsman, type !cricket to join single player game! | return }
  var %z = $r(0,6)    
  if (%z = 6) {
    msg # $read $scriptdir/six.txt
  }
  if (%z = 4) {
    msg # $read $scriptdir/four.txt
  }
  if (%z = 0) {
    goto out
  }
  if (%z = 5) {
    inc %totalsoloruns [ $+ [ $nick ] ] 1
    inc %soloruns [ $+ [ $nick ] ] 1
    msg # WIDE BALL!!! and with this 7 $nick score %soloruns [ $+ [ $nick ] ] Runs.      
    HALT
  }
  inc %totalsoloruns [ $+ [ $nick ] ] %z
  inc %soloruns [ $+ [ $nick ] ] %z
  msg # 10 $2 $nick has made %z runs on this ball,7 $nick total score %soloruns [ $+ [ $nick ] ] Runs.
  HALT          
  :out
  msg # 4 $nick is OUTTTTTTT wowwwwwwwwwwww !! $nick has scored 4 %soloruns [ $+ [ $nick ] ] Runs!
  set %soloruns [ $+ [ $nick ] ] 0
  set %sbat $remtok(%sbat,$nick,32)
} 


on *:TEXT:!runs*:#:{
  msg # $nick 4,15has made Total12 %totalsoloruns [ $+ [ $nick ] ] RUNS in all single player matches and 5and12 %soloruns [ $+ [ $nick ] ] 5in this match.

}
i
ismail
Voice
Posts: 4
Joined: Thu Sep 01, 2016 12:13 pm

Post by ismail »

there are color eskeys which is disabled so the numbers are there please ignore that
i
ismail
Voice
Posts: 4
Joined: Thu Sep 01, 2016 12:13 pm

Post by ismail »

seems like no one :(
H
Hero
Halfop
Posts: 49
Joined: Tue Jun 26, 2012 6:27 pm
Location: root@localhost
Contact:

Post by Hero »

is it done ismail?
The Road To Hell Is Full Of Good Intentions
Post Reply