Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 22nd September 2010
guitarscn guitarscn is offline
Package Pilot
Join Date: Oct 2008
Posts: 166
Default How to make delays between multiple commands in an alias (ircII)

Okay so I have an alias that looks like this:

ALIAS gscn {
MSG gscn Test1
MSG gscn Test2
MSG gscn Test3
MSG gscn Test4
MSG gscn Test5
How do I make it wait 5 seconds between each command before it executes the next one after that in order from top to bottom? I tried the TIMER command like this:

ALIAS gscn {
MSG gscn Test1
TIMER 5 MSG gscn Test2
TIMER 5 MSG gscn Test3
TIMER 5 MSG gscn Test4
TIMER 5 MSG gscn Test5
But all it does is wait 5 seconds after the first MSG, then send the rest of the MSGs instantly all at once like it usually does.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't load any scripts in ircII guitarscn General software and network 4 22nd November 2010 12:06 AM
Mozilla delays Firefox 3.6.4 J65nko News 0 2nd June 2010 08:08 PM
Changing MAC address to an alias interface? DNAeon FreeBSD General 6 20th January 2009 04:48 PM
Mounting NAS as apache alias directory Yuka FreeBSD General 7 18th July 2008 02:58 PM
ip alias confusion hamba FreeBSD General 2 5th June 2008 10:23 AM

All times are GMT. The time now is 11:48 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick