Originally Posted By: Artiiz
Ahh okay.

So if I go into the AppData/Roaming/mIRC/scripts in my computer, and makes an text file and just writes everything in there, and saves it, it should work?
Or do I need to save it on another place than /scripts?


Also, in the code you've wrote:

Code:
on 1:TEXT:slap:#artiiz:{
    var %items an elephant,an object,a fish,a car

    msg $chan slap $nick with $gettok(%items,$rand(1,$numtok(%items,44)),44)
}

Is it possible to make it to pick random, and not count from first to last?
I appreciate the help, I'm kinda new in this area and therefore don't understand so much xD


To note, the script I posted does select a random item from the list in the variable (If you would like me to explain what its doing in more detail I can!)

But yeah I dont believe it would be in your scripts directory, it should be in the folder up from that, but to make completely sure you have the directory you want the file in use:

Code:
//echo -a $mircdir


(With the double slash) Into any mIRC window with a text box and it will give you the directory you'll want to place your files into.

Last edited by Plornt; 29/07/15 12:08 PM.