In a script I have been working on for a while, I would like to add some 'fun' features. One thing I have been working on is a slots script, called slots.ini. Here is the code:
ON *:TEXT:!slots*:*: msg $chan $nick plays the slots. $read $mircdir\slots.txt
Basically this means whenever someone says !slots, a random line from the slots.txt is read and sent to the channel. Here is a sample line from slots.txt:
/msg $chan [Cherry] [Banana] [Bar] Sorry, You lose £5. | /dec %slots $+ $nick 5
Basically my problem is that that is exactly what is sent to the channel, coding and all. Is there a variable, like there is the -c
option for the /play command, which forces mIRC to read lines as actual commands rather than just text, so that I can work my slots script properly?
Or is there something which would do the same? I cannot use /play because I only want one random line to be sent to the channel.
Any help would be much
Thankyou in advance,