Top

Comments

  (126)  RSS
Aaron's
Anti
Comments: 305
 
mIRC Snippet:  chuck norris fact snippet
Posted on Jul 9, 2008 8:19 pm
Hah okay here i am rusty me.
mountaindew
Comments: 1,540
 
mIRC Snippet:  chuck norris fact snippet
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
Anti
Comments: 305
 
mIRC Snippet:  chuck norris fact snippet
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....
mountaindew
Comments: 1,540
 
mIRC Snippet:  chuck norris fact snippet
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.
Spamsci
Comments: 5
 
mIRC Snippet:  chuck norris fact snippet
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???
mountaindew
Comments: 1,540
 
mIRC Snippet:  chuck norris fact snippet
Posted on Jul 8, 2008 5:48 pm
What do you mean \"upload\"?
Spamsci
Comments: 5
 
mIRC Snippet:  chuck norris fact snippet
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?
mountaindew
Comments: 1,540
 
mIRC Snippet:  chuck norris fact snippet
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))
}
Spamsci
Comments: 5
 
mIRC Snippet:  chuck norris fact snippet
Posted on Jul 8, 2008 5:29 pm
It doesn\'t seem to be working...

Theres a bracket mismatch apparently.
mountaindew
Comments: 1,540
 
mIRC Snippet:  chuck norris fact snippet
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:
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
Spamsci
Comments: 5
 
mIRC Snippet:  chuck norris fact snippet
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?

BlueThen
Comments: 308
 
mIRC Snippet:  chuck norris fact snippet
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. :/
mountaindew
Comments: 1,540
 
mIRC Snippet:  chuck norris fact snippet
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))
Spamsci
Comments: 5
 
mIRC Snippet:  chuck norris fact snippet
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?
computermaineack
Comments: 3
 
mIRC Snippet:  devoice on voice
Posted on Dec 3, 2007 7:57 pm
hah, nevermind, figured out the problem...stupid mistake...i wasnt using it remotely... >.>
computermaineack
Comments: 3
 
mIRC Snippet:  devoice on voice
Posted on Dec 3, 2007 7:52 pm
Doesn\'t work for me. When I type !dvc nick nothing happens.
Viper01
Comments: 77
 
mIRC Snippet:  runescape pking snippet
Posted on Jul 5, 2007 9:21 am
edited. look for it around the games setion.:)
Lindrian
Comments: 741
 
mIRC Snippet:  $isban()
Posted on Jul 5, 2007 8:51 am
ah lol. Stupid to rip such a usless code.
kerstt
Comments: 64
 
mIRC Snippet:  $isban()
Posted on Jul 5, 2007 8:43 am
no lol aaron is the ripper, cause b_u_n-s isnt aaron :o
Viper01
Comments: 77
 
mIRC Snippet:  runescape pking snippet
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.
1 2 3 4 5 6 7 Next
Bottom