DonationCoder.com Software > Post New Requests Here
IDEA: Xchat script for tircd (Twitter)
housetier:
if you need a delay after a command it gets tricky with this sort of simple script. suppose you want to wait for 2 seconds after joining a channel before you start inviting others:
--- ---/join #channel
/timer -repeat 1 2 invite person1
/invite person2
this contradicts my statement about missing loops and shows how far you have to go to get a simple sleep: This "timer" only runs once (-repeat 1) with a delay of 2 seconds and executes "invite person1" on every loop.
When you need anything more sophisticated than this you will need a proper programming language :)
app103:
Just to tell you how it all worked out...
Finished my "simple script" and restarted xchat.
Got about halfway through the list and tircd crashed. (was a lot of commands to group over 300 people by their interests)
Restarted the server and it worked beautifully, though.
But I may end up running a second copy of xchat as a dedicated twitter client.
I am thinking about writing a full tutorial on how to set it all up.
Many thanks for your help. :Thmbsup:
Navigation
[0] Message Index
[*] Previous page
Go to full version