Add onto .txt lines - 20/06/15 01:45 AM
Hey I hope some one can help I've looked a lot of places for an answer and can't seem to find one that works. I would like to make a script that builds up some responses, then posts them in one msg to the channel every 10 sec. Here is what I have so far:
This works for collecting the points outputs but post them to separate lines so I just get a random one out in the end. I would like it to post all to one line so its all in one msg. Thanks for taking the time to help guys!
Code:
on *:text:!vp:#: { write -a vplookup.txt $nick has $readini(gold.ini,$ (#,.,$nick),Points) Victory Points! | if (%vplook = 1) { return } .timer 0 10 vpcheck set %vplook 1 } alias -l vpcheck { msg #channel $read(vplookup.txt) set %vplook 0 write -c vplookup.txt return }
This works for collecting the points outputs but post them to separate lines so I just get a random one out in the end. I would like it to post all to one line so its all in one msg. Thanks for taking the time to help guys!