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 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 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 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: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 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 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: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: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: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: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 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 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 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:
devoice on voice
Posted on Dec 3, 2007 7:57 pm
Posted on Dec 3, 2007 7:57 pm
hah, nevermind, figured out the problem...stupid mistake...i wasnt using it remotely... >.>
mIRC Snippet:
devoice on voice
Posted on Dec 3, 2007 7:52 pm
Posted on Dec 3, 2007 7:52 pm
Doesn\'t work for me. When I type !dvc nick nothing happens.
mIRC Snippet:
runescape pking snippet
Posted on Jul 5, 2007 9:21 am
Posted on Jul 5, 2007 9:21 am
edited. look for it around the games setion.:)
mIRC Snippet:
runescape pking snippet
Posted on Jul 5, 2007 8:25 am
Posted on Jul 5, 2007 8:25 am
Aaron, ty for the credit, but i\'m editing it so that it doesnt run on timers. I\'m making it a semi-battle script.








