Bomb Script.
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 1.0 |
| Scores Submitted | 2 |
| Date Added | Mar 06, 2008 |
| Last Updated | Mar 07, 2008 |
|
|
Introduction
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 1:55 pm
Posted on Mar 6, 2008 1:55 pm
I havn\'t had a chance to test it and its my first script like this so there might be mistakes and bugs. You may do whatever you want with it, but if you modify it and post it here please be sure to give me some of the credit.
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 1:59 pm
Posted on Mar 6, 2008 1:59 pm
I hope you enjoy it... :) | Note: I was bored...
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 2:06 pm
Posted on Mar 6, 2008 2:06 pm
One quick thing,
may need to be changed to
as \"vars\" get deleted after the script has been exectued, therefore when ya try:
nothings gonna be popping there >.>
| Code: |
| var %nick = $nick(#,$r(1,$nick(#,0))) |
may need to be changed to
| Code: |
| set %nick $nick(#,$r(1,$nick(#,0))) |
as \"vars\" get deleted after the script has been exectued, therefore when ya try:
| Code: |
| if ($Nick != %Nick) { Halt } |
nothings gonna be popping there >.>
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 2:08 pm
Posted on Mar 6, 2008 2:08 pm
Ok I\'ve tried it. Once and it set the nick and the script went through and the var stayed so it doesn\'t have to be changed. I just tried it like a second ago. (Everyone Please Comment And Rate)
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 2:08 pm
Posted on Mar 6, 2008 2:08 pm
Also, not everybody has the aliases;
Use:
and
Please correct me if ,0 is the wrong param, im not sure, there are so many of them xP
| Code: |
| Kickban || Unban |
Use:
| Code: |
| /ban -k $chan %nick msg...alalala |
and
| Code: |
| /mode $chan -b $address($nick,0) |
Please correct me if ,0 is the wrong param, im not sure, there are so many of them xP
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 2:10 pm
Posted on Mar 6, 2008 2:10 pm
I Know Jonesy But most servers do So I\'m sticking wit it.
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 2:52 pm
Posted on Mar 6, 2008 2:52 pm
Most ?
Might be better to suit \"All\", the 7 or so servers i\'ve been on do not support built in aliases, they don\'t come on ircd or anope
Might be better to suit \"All\", the 7 or so servers i\'ve been on do not support built in aliases, they don\'t come on ircd or anope
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 2:57 pm
Posted on Mar 6, 2008 2:57 pm
you have if (%Power == on) well um where do you set the power?
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 3:26 pm
Posted on Mar 6, 2008 3:26 pm
Logan Please make sure the script works before you post it.
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 4:15 pm
Posted on Mar 6, 2008 4:15 pm
um heres one way of getting it to work.
| Code: |
| on @*:text:*:%bombchan:{ if ($1 == `bomb) { if (%BombInUse) { msg %bombchan 4(12-3[7-3]12-4)15 Sorry $nick but the Bomb Game is already in use. Please wait until its over. 4(12-3[7-3]12-4)15 } else { set %BombInUse on set %HasBomb $nick(#,$r(1,$nick(#,0))) Describe %bombchan 4(12-3[7-3]12-4)15 Hands %HasBomb A Bomb. Everyone must try to give the bomb to someone else before the timer runs out. If the time runs out the person will be given a kickban for 1 min. 4(12-3[7-3]12-4) msg %bombchan 4(12-3[7-3]12-4)15 You got 1 min before the bomb explodes. Use your time wisely. 4(12-3[7-3]12-4)15 .timerboom 1 60 boom } } elseif ($1 == `GiveBomb) { if ($nick != %HasBomb) { msg %bombchan You Dont Have The Bomb $nick } elseif ($nick == $2) { msg %bombchan 4(12-3[7-3]12-4)15 Don\'t try to give urself the bomb! 4(12-3[7-3]12-4)15 } elseif ($2 !ison #) { msg %bombchan 4(12-3[7-3]12-4)15 $2 is not in chan... Don\'t try to cheat! 4(12-3[7-3]12-4)15 } else { msg %bombchan 4(12-3[7-3]12-4)15 $nick has given $2 the bomb. Please hurry before the time runs out. (Noise heard in the background: Tic Toc Tic Toc...\" set %HasBomb $2 } } } alias boom { ban -ku60 %bombchan %HasBomb 2 4(12-3[7-3]12-4)15 *BOOM!!!* The Bomb has exploded and your seriously injured. (Come back in 1 min) | unset %BombInUse %HasBomb } on *:load:{ set %bombchan $$?=\"Please Set A Channel To Play Bomb Game ex: #channel\" | echo -a Bomb Game Channel Set As %bombchan } |
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 4:45 pm
Posted on Mar 6, 2008 4:45 pm
Ok Sorry I just forgot to put in the power on power off command. Sorry for the incovenience.
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 5:25 pm
Posted on Mar 6, 2008 5:25 pm
ok if you would look at my last comment you would see a few things you can fix. like why make it 2 on text events when it can be one. why set power off if you are not going to use the off part just unset it, and also you use KickBan and unban but have no aliases for them. also why use var %nick = $nick(#,$r(1,$nick(#,0))) if you are just going to set %HasBomb %Nick. againg take alook at my last comment. it\'s ment to help.
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 6:10 pm
Posted on Mar 6, 2008 6:10 pm
ok you have it set %Power Off in the mid of the game so if you try to do \"`givebomb nick\" you cant cuz %power is not on also you have isin you should use ison.
Logan said:
um thats fine but ur script still dont work. =/
Logan said:
so why post it if you didnt test it. You should really learn to test ur work before you post it.
Logan said:
| Quote: |
| Ok Sorry I just forgot to put in the power on power off command. Sorry for the incovenience. |
um thats fine but ur script still dont work. =/
Logan said:
| Quote: |
| I havn\'t had a chance to test it and its my first script like this so there might be mistakes and bugs. |
so why post it if you didnt test it. You should really learn to test ur work before you post it.
mIRC Snippet:
Bomb Script.
Posted on Mar 6, 2008 6:21 pm
Posted on Mar 6, 2008 6:21 pm
jonesy44 on the ban kick unban part you can use this ;)
| Code: |
| ban -ku60 $chan $nick 2 kick message here |
mIRC Snippet:
Bomb Script.
Posted on Mar 8, 2008 9:41 am
Posted on Mar 8, 2008 9:41 am
noted lol, thanks xD








