chuck norris fact snippet
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 5.5 |
| Scores Submitted | 4 |
| Date Added | Jan 13, 2007 |
| Last Updated | Feb 02, 2007 |
| Tags | chuck fun games |
|
|
Introduction
!chuck - random chuck quote
!chuck [number] - selected quote
*edit I cut the color down a lot
**edit massive overhaul
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 13, 2007 5:29 pm
Posted on Jan 13, 2007 5:29 pm
oh boy ;) I'd say thats pretty fun, but just a suggestion: use a local variable: /var %chuck = $r(1,9) reason being is that it will unset after it reaches the last bracket of the currently executing script and also will not be messed up if 2 people use the same script at da same time ;)
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 13, 2007 5:57 pm
Posted on Jan 13, 2007 5:57 pm
changed :)
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 13, 2007 7:06 pm
Posted on Jan 13, 2007 7:06 pm
you need to space it =$r(1,9) != = $r(1,9)
make it = $r(1,9)
not =$r(1,9)
make it = $r(1,9)
not =$r(1,9)
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 13, 2007 8:47 pm
Posted on Jan 13, 2007 8:47 pm
Be carefull with the chuck norris snippets folks you will end up with a CNRHK to the head!!!!!!
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 13, 2007 8:47 pm
Posted on Jan 13, 2007 8:47 pm
upgraded it a little, read edit
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 14, 2007 10:40 am
Posted on Jan 14, 2007 10:40 am
This could be 1 line script using $read(chuck.txt) function.
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 14, 2007 12:19 pm
Posted on Jan 14, 2007 12:19 pm
Would be better with a socket script connecting to chucknorrisfacts.com or better yet http://4q.cc/index.php?pid=fact&person=chuck (<--- Random CN fact)
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 14, 2007 12:29 pm
Posted on Jan 14, 2007 12:29 pm
acid i went to first site, its pretty nice lol
how would i put it into a text and read it? :\
how would i put it into a text and read it? :\
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 14, 2007 12:30 pm
Posted on Jan 14, 2007 12:30 pm
sorry lol im not that good with txt and sockets :P
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 14, 2007 12:36 pm
Posted on Jan 14, 2007 12:36 pm
Go to forum, if i remember right then RusselB writed a good socks tutorial.
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 14, 2007 3:24 pm
Posted on Jan 14, 2007 3:24 pm
ill just leave this as is for right now, ill update it later
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 20, 2007 1:44 am
Posted on Jan 20, 2007 1:44 am
BIG update, put in a text read
hope you liek the 700+ quotes :P
hope you liek the 700+ quotes :P
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 28, 2007 11:51 am
Posted on Jan 28, 2007 11:51 am
cant get jokes.txt to work
:((
:((
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 28, 2007 1:45 pm
Posted on Jan 28, 2007 1:45 pm
did you put it in your mirc file?
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 28, 2007 4:49 pm
Posted on Jan 28, 2007 4:49 pm
Hey I love it.
Can you do me a favor and make it so that theres only 1 file for this? Using the rand thing.
Can you do me a favor and make it so that theres only 1 file for this? Using the rand thing.
mIRC Snippet:
chuck norris fact snippet
Posted on Jan 28, 2007 5:01 pm
Posted on Jan 28, 2007 5:01 pm
i gave it a 10/10
mIRC Snippet:
chuck norris fact snippet
Posted on May 9, 2007 11:18 am
Posted on May 9, 2007 11:18 am
I can't get it to work once I type !chuck nothing happens at all...
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 3:08 am
Posted on Jul 8, 2008 3:08 am
I'm a bit new to this, so I need a little help.
I've saved it how you said where you said, but how do i upload it to my IRC channel?
I've saved it how you said where you said, but how do i upload it to my IRC channel?
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 10:10 am
Posted on Jul 8, 2008 10:10 am
1) Download mIRC
2) Go to remotes (Alt+R)
3) Paste on *:text:!chuck*:#:{ .msg $chan $iif(($2 isnum 1- $+ $lines(Jokes.txt)),$read(Jokes.txt,$2),$read(Jokes.txt)) } } into the space
4) Close remotes and type /write jokes.txt | run jokes.txt
5) Paste all the chuck norris stuff in it and save
Aaron, you could just do $iif($read(jokes.txt,$2),$v1,$read(jokes.txt))
2) Go to remotes (Alt+R)
3) Paste on *:text:!chuck*:#:{ .msg $chan $iif(($2 isnum 1- $+ $lines(Jokes.txt)),$read(Jokes.txt,$2),$read(Jokes.txt)) } } into the space
4) Close remotes and type /write jokes.txt | run jokes.txt
5) Paste all the chuck norris stuff in it and save
Aaron, you could just do $iif($read(jokes.txt,$2),$v1,$read(jokes.txt))
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 2:03 pm
Posted on Jul 8, 2008 2:03 pm
Waow. That's a lot of facts. I had my own little file, but I only saved ones that I thought were funny. :/
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 5:08 pm
Posted on Jul 8, 2008 5:08 pm
Sorry, but I got lost after step 4.
Where do I type "/write jokes.txt | run jokes.txt"???
And where do I paste the facts?
I've got all the facts saved as jokes.txt in the mIRC folder, and added the remote.
I'm an op in this server, is that enough to upload the script?
Where do I type "/write jokes.txt | run jokes.txt"???
And where do I paste the facts?
I've got all the facts saved as jokes.txt in the mIRC folder, and added the remote.
I'm an op in this server, is that enough to upload the script?
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 5:19 pm
Posted on Jul 8, 2008 5:19 pm
Oh, well if the facts are already in the txt, then you're all set. Make sure you have this is your remotes though:
And just have someone type !chuck
| Code: |
on *:text:!chuck*:#:{ .msg $chan $iif(($2 isnum 1- $+ $lines(Jokes.txt)),$read(Jokes.txt,$2),$read(Jokes.txt)) } } |
And just have someone type !chuck
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 5:29 pm
Posted on Jul 8, 2008 5:29 pm
It doesn't seem to be working...
Theres a bracket mismatch apparently.
Theres a bracket mismatch apparently.
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 5:34 pm
Posted on Jul 8, 2008 5:34 pm
| Code: |
on *:text:!chuck*:#:{ msg $chan $iif(($2 isnum 1- $+ $lines(Jokes.txt)),$read(Jokes.txt,$2),$read(Jokes.txt)) } |
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 5:43 pm
Posted on Jul 8, 2008 5:43 pm
Thanks for the fast replies.
I'm an op on the channel i want to upload it to, is that enough? Or do i need to be admin?
I'm an op on the channel i want to upload it to, is that enough? Or do i need to be admin?
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 8, 2008 5:48 pm
Posted on Jul 8, 2008 5:48 pm
What do you mean "upload"?
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 9, 2008 7:45 pm
Posted on Jul 9, 2008 7:45 pm
Well, if I follow all those steps, does that mean that any IRC channel I open will read my a fact if I type !chuck???
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 9, 2008 7:52 pm
Posted on Jul 9, 2008 7:52 pm
If some else types !chuck. On Text events are for other people, not yourself. If you would like you use it yourself, you would need to turn it into an alias or an on text event.
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 9, 2008 7:59 pm
Posted on Jul 9, 2008 7:59 pm
Oh wow talk about flood issues why not turn it into a notice kinda thing... its nice but whats up with the IFF wtf is that? isnt it if....
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 9, 2008 8:09 pm
Posted on Jul 9, 2008 8:09 pm
$iif is kind of like an if and else combined
$iif(if statement,if true do this,if false do this)
//echo -a $iif(MountainDew == Anti,yes,no) --> no
//echo -a $iif(3 isnum 1-9,yup,no) --> yup
$iif(if statement,if true do this,if false do this)
//echo -a $iif(MountainDew == Anti,yes,no) --> no
//echo -a $iif(3 isnum 1-9,yup,no) --> yup
mIRC Snippet:
chuck norris fact snippet
Posted on Jul 9, 2008 8:19 pm
Posted on Jul 9, 2008 8:19 pm
Hah okay here i am rusty me.
mIRC Snippet:
chuck norris fact snippet
Posted on Dec 1, 2008 3:03 pm
Posted on Dec 1, 2008 3:03 pm
make sure it works dude cuz i couldnt get it to work either.i type !chuck and nuthin happens.i put the facts in a .txt file named jokes.txt in my Mirc folder and put on *:text:!chuck*:#:{ .msg $chan $iif(($2 isnum 1- $+ $lines(Jokes.txt)),$read(Jokes.txt,$2),$read(Jokes.txt)) } }
in my bots script editor and i typed typed !chuck and nuthin happened this script fails miserably.try workin on it some more.
in my bots script editor and i typed typed !chuck and nuthin happened this script fails miserably.try workin on it some more.








