8 ball script with adding features
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Aug 30, 2007 |
| Last Updated | Aug 30, 2007 |
| Tags | 8ball adding features script with |
|
|
Introduction
Thanks Unlimi
mIRC Snippet:
8 ball script with adding features
Posted on Aug 31, 2007 12:16 am
Posted on Aug 31, 2007 12:16 am
I don't want to explain, bunch of rubbish in it, and why not just...
on *:text:!8ball*:#: {
if ( %8ball == off ) {
msg $chan Sorry $nick $+ , The 8ball Game Is Currently OFF
elseif { (%8ball == on) {
msg $chan $nick $+ : $read($mircdir $+ 8ball.txt)
}
on *:text:!write*:#: {
if ($nick == Bot'sOwnerNick) {
$write($mircdir $+ 8ball.txt $2-
notice $nick $2- is sucessfully added to the 8ball questions list =)
}
menu * {
8ball
.On { set %8ball on | echo -a The 8ball game has been activated! }
.Off { set %8ball off | echo -a The 8ball game has been de-activated! }
on *:text:!8ball*:#: {
if ( %8ball == off ) {
msg $chan Sorry $nick $+ , The 8ball Game Is Currently OFF
elseif { (%8ball == on) {
msg $chan $nick $+ : $read($mircdir $+ 8ball.txt)
}
on *:text:!write*:#: {
if ($nick == Bot'sOwnerNick) {
$write($mircdir $+ 8ball.txt $2-
notice $nick $2- is sucessfully added to the 8ball questions list =)
}
menu * {
8ball
.On { set %8ball on | echo -a The 8ball game has been activated! }
.Off { set %8ball off | echo -a The 8ball game has been de-activated! }
mIRC Snippet:
8 ball script with adding features
Posted on Sep 1, 2007 6:25 am
Posted on Sep 1, 2007 6:25 am
And you don't need the / mIRC automatically uses commands in scripts :)
mIRC Snippet:
8 ball script with adding features
Posted on Sep 1, 2007 9:53 am
Posted on Sep 1, 2007 9:53 am
| Code: |
on *:text:*:#:{ if ($1 == !8ball) msg $chan 4 $nick , $read 8ballcommands.txt) if ($1 == !write8ball) && ($nick == $me) write 8ballcommands.txt $2- | notice $nick 4 $2- is now added into file 8ballcommands.txt } |




