!10sn nuke

By Tankgeneral on Jan 05, 2008

Hi i am new to the Hawkee forum/website ofcourse i like to script in mirc thats why i created this command the !10sn (10 sec nuke)

when somene says !10sn then the countown begins.

when the timer reaches 0. A randomize player will be kicked from the channel (not ban!) offcourse it targets the bot asswel so i also added a rejoin command on it.

when he gets a kick he will rejoin the channel

I hope you guys like it :P

on *:Text:!10sn:#:{
  msg $chan 7,0Nuclear strike initiated
  var %nick = $nick(#,$r(1,$nick(#,0)))
  timer 1 2 msg $chan 4,0you have 10 seconds to reach minimum safe distance
  timer 1 3 msg $chan 4,0 10
  timer 1 4 msg $chan 4,0 9
  timer 1 5 msg $chan 4,0 8
  timer 1 6 msg $chan 4,0 7
  timer 1 7 msg $chan 4,0 6
  timer 1 8 msg $chan 4,0 5
  timer 1 9 msg $chan 4,0 4
  timer 1 10 msg $chan 4,0 3
  timer 1 11 msg $chan 4,0 2
  timer 1 12 msg $chan 4,0 1
  timer 1 13 msg $chan 4,0 0
  timer 1 14 msg $chan 4,1BOOM!!!
  timer 1 16 msg $chan 9,0 %nick 0,09,0has been hit by a nuclear missle 
  timer 1 17 kick $chan %nick 0,09,0you got been hit by a nuclear missle and blown away from this channel :P
  timer 1 20 msg $chan 9,0Nuke was so extreme that it blowed %nick 0,09,0away from the channel :P
  timer 1 21 msg $chan 9,0Haha ;P
}

on *:kick:#: {
if ($knick == $me) { /join # }
}

Comments

Sign in to comment.
Tankgeneral   -  Feb 02, 2008

it only works when u have for example 2 accounts
1 with the script in it and 1 without it.

in the one where this script isnt placed you can say !10sn then it works

 Respond  
Levy   -  Jan 17, 2008

Hey when i do !10sn in m y other client it doesnt work?

 Respond  
Tankgeneral   -  Jan 06, 2008

changed it thx

 Respond  
G13AoUsTiS   -  Jan 06, 2008

on *:kick:#: {
if ($knick == $me) { /join # }
}

I Think this is better:)

AnyWay Gppd Job:)

 Respond  
Tankgeneral   -  Jan 05, 2008

okay thx

really handy :P

 Respond  
Mylesmart   -  Jan 05, 2008

Just one quick hint:
on *:KICK:#:/join #channel <-- this will rejoin the channel everytime someone is kicked, not just you.

 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.