Cycling - 13/05/03 11:16 PM
Hi, can anyone help me? What I'm trying to do is make the script cycle through a list of things to say rather than just a random one via { $read file.txt } for my little known fact file.
(trigger code in separate script file)
on *:TEXT:!LKF*:*:{ /msg # Litte Known Fact : $read LKF.txt }
(LKF.txt)
Boogers are NOT an excellent source of protien.
Numchucks are NOT an actual oriental weapon.
^^This is what I have, I want it to cycle rather than read a random line. you know, it reads line one then line two, then line three. I don't know how to use variables yet I'm not that advanced. So could someone please give me a hand? Thanks ahead of time.
(trigger code in separate script file)
on *:TEXT:!LKF*:*:{ /msg # Litte Known Fact : $read LKF.txt }
(LKF.txt)
Boogers are NOT an excellent source of protien.
Numchucks are NOT an actual oriental weapon.
^^This is what I have, I want it to cycle rather than read a random line. you know, it reads line one then line two, then line three. I don't know how to use variables yet I'm not that advanced. So could someone please give me a hand? Thanks ahead of time.