8 ball script with adding features

By be_unlimited on Aug 30, 2007

simply 8ball script with adding features so you can add your answers , change myname into your name so only you can write answers into your 8ball script

Thanks Unlimi

on *:text:!8ball *:#: { /msg $chan 4 $nick , $read(8ballcommands.txt) }
on *:text:!write8ball *:#: { if ($nick == myname) /write 8ballcommands.txt $2-
  /notice $nick 4 $2- is now added into file 8ballcommands.txt
}
}

Comments

Sign in to comment.
guest598594   -  Sep 01, 2007
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
}
 Respond  
T7Davey   -  Sep 01, 2007

And you don\'t need the / mIRC automatically uses commands in scripts :)

 Respond  
Godzilla   -  Aug 31, 2007

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! }

 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.