Top

Comments

  (51)  RSS
shugo103's
mountaindew
Comments: 1,645
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Sep 19, 2007 5:25 pm
sorry for the two use $read...forgot to erase the bottom one :P
mountaindew
Comments: 1,645
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Sep 19, 2007 5:24 pm
why does everyone do if (%8ball == number) its such a waste of code...

Code:

on *:text:!8ball*:#:{
  var %8ball = No|Yes|Maybe|Try Later|Etc...
  msg $chan $gettok(%8ball,$r(1,$numtok(%8ball,124)),124)
}


i find a variable a lot easier than writing/readin a txt

x1gu10n3r: use $read(file.txt) to read a random line

just use $read(file.txt) to read random line
xredxthornsx
Comments: 23
 
mIRC Snippet:  [Mimic]
Posted on Sep 19, 2007 5:11 pm
um i couldn't get this to work at ALL i tried editing it alot adn i couldn't get anything to work
shugo103
Comments: 38
 
Profile:  shugo103
Posted on Feb 8, 2007 5:17 pm
Thanks alot, I will try i might need help scripting lol.. I stopped for a while and i just barely know stuff like my noob scripts :(
Hawkee
Comments: 566
 
Profile:  shugo103
Posted on Feb 8, 2007 3:22 am
Welcome back shugo, hope you make yourself at home with the new features.
X1qu10n3r
Comments: 22
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Jan 8, 2007 1:41 pm
just keep things simple...but i'd rather use this...

on 1:text:!8ball*:#: {
var %8ball $r(1,$lines(8ball.txt))
msg $chan The Magical 8ball says " $+ $read(8ball.txt,%8ball) $+ "
}
menu * {
.Add 8ball Message: var %a $?="8ball Message:" | write 8ball.txt %a
}

but hell, i like yours too.
CaptainHollyShort
Comments: 40
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Jan 8, 2007 1:20 pm
Vengeance, how the hell is that complicated? That's not only redundant and poor coding, it's also extremely simple.

shugo103
-_- Let it be the way it is. There is nothing wrong with it no?

Besides the fact that you're denying suggestions to make it better? There's tons wrong with it that I can see.
Vengeance
Comments: 25
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Jan 8, 2007 11:22 am
if you just want it complicated for fun use this

(yes its redundant and pretty pointless but its complicated :) )

on *:text:!8ball *:#: {
var %8ball $rand(1,5)
describe $chan dont take this stuff to seriously its just a thingermabob :)
if ((%8ball == 1 )) msg # The magic 8ball says " $+ $read(8ball.txt,1) $+ "
if ((%8ball == 2 )) msg # The magic 8ball says " $+ $read(8ball.txt,2) $+ "
if ((%8ball == 3 )) msg # The magic 8ball says " $+ $read(8ball.txt,3) $+ "
if ((%8ball == 4 )) msg # The magic 8ball says " $+ $read(8ball.txt,4) $+ "
if ((%8ball == 5 )) msg # The magic 8ball says " $+ $read(8ball.txt,5) $+ "
}
shugo103
Comments: 38
 
mIRC Snippet:  Randomness
Posted on Aug 17, 2006 3:18 am
Thanks.
EagleAmerican
Comments: 8
 
mIRC Snippet:  [Mimic]
Posted on Jul 29, 2006 11:08 pm
I made a mimic/copy script that has all the functions. You should add on so that it can copy a person or everone.
ZabuzaMomochi
Comments: 186
 
mIRC Snippet:  [Mimic]
Posted on Jul 27, 2006 6:54 pm
Or just to spam channels and be annoying :P
Midnight
Comments: 24
 
mIRC Snippet:  [Mimic]
Posted on Jul 27, 2006 3:59 pm
For entertainment. Just for kicks'n'giggles. o-o
krimson
Comments: 47
 
mIRC Snippet:  [Mimic]
Posted on Jul 27, 2006 10:08 am
But what's the purpose of this snippet?
aaslyfox
Comments: 20
 
mIRC Snippet:  Random Topic Styles
Posted on Jul 19, 2006 2:10 pm
Uhh, this is open to abuse.
Someone just needs to join and type the command, and you'll change the topic of the channel.
I don't think you can activate your own scripts through a text, so try changing this to an Alias.
sean
Comments: 108
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Jul 4, 2006 10:22 am
wtf@Raichu. This type of snippet would be more proficient if it were reading from a .txt, this way u can just add the result to the end of a list, instead of expanding the $rand and making another if statement
CaRe_Taker
Comments: 134
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Jul 2, 2006 2:57 pm
i wasnt puttin down his coding
i was just suggestings
it to Read From a .txt file
Raichu
Comments: 49
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Jul 2, 2006 4:04 am
this snipped needs mirc...

and a 8ball snippet is ment for fun.

Odd how people would want a .txt as a question file. He got his own style of scripting.
[-mafas-]
Comments: 8
 
mIRC Snippet:  Simple 8ball Snippet
Posted on Jul 1, 2006 8:03 am
for what this script is needed? :S
CaRe_Taker
Comments: 134
 
mIRC Snippet:  Randomness
Posted on Jun 28, 2006 7:02 pm
on *:text:*:#: {
tokenize 32 $strip($1-)
if ($1 == @new8) { .write 8.txt $2- }
if ($1 == @addk) { .write k.txt $2- }
if ($1 == @8ball) { .msg $chan $read(8.txt) }
if ($1 == @k) && ($nick isop $chan) { .kick $chan $2 $read(k.txt) }
if ($1 == @kb) && ($nick isop $chan) { .ban $chan $2 | .kick $chan $2 $read(k.txt) }
}

tokenize 32 $strip($1-)
shugo103
Comments: 38
 
mIRC Snippet:  Randomness
Posted on Jun 28, 2006 3:44 pm
Umm, Just look at the Kiss the bottle script.
1 2 3 Next
Bottom