Hello mates,
I have a text file "abc.txt" having these lines:
1:1 Do good have well
1:2 Take your mind off the things you do not want
1:3 Put it on the things you do want
1:4 First deserve then desire
I need a code if I type the command !show 1:2 it shuld display the quote 1:2 in main, and if I type !show 1:3 it should display quote 1:3.
I wrote this code but its not working.
on *:TEXT:*:#: {
if (!show == $1) && ($2 isnum) { /msg # $read(abc.txt,$2) }
}
Thankx.