Making a $read(slap.txt) command - 29/07/15 11:02 AM
Hello,
So I'm trying to make a slap command which will read several words that the targeted person can be slapped by.
The problem is that I've saved a txt doc in /scripts, as an .txt file.
When I open the file it contains this:
http://gyazo.com/5265387889561dec73581e5475a8ebfe
And I've wrote in my remote script like this:
But it just says this:
http://gyazo.com/befa4aa20903e932845b8d32be5802d1
What do I have to do, to make the $read command read the whole file?
Appreciate all the help!
Best Regards
Artiiz
So I'm trying to make a slap command which will read several words that the targeted person can be slapped by.
The problem is that I've saved a txt doc in /scripts, as an .txt file.
When I open the file it contains this:
http://gyazo.com/5265387889561dec73581e5475a8ebfe
And I've wrote in my remote script like this:
Code:
on 1:text:slap:#artiiz:{ msg $chan slap $nick with $read(slap.txt) }
But it just says this:
http://gyazo.com/befa4aa20903e932845b8d32be5802d1
What do I have to do, to make the $read command read the whole file?
Appreciate all the help!
Best Regards
Artiiz