irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

Problem handling multiple WAIT commands inside an ALIAS #195

Open irssibot opened 19 years ago

irssibot commented 19 years ago

There appears to be a problem in IRSSI with the WAIT command:

If I make an ALIAS with

/ALIAS TEST MSG TestUser test; WAIT 5000; MSG TestUser test1; WAIT 5000; MSG TestUser test2; WAIT 5000; MSG TestUser test3"

Then "test" gets sent to TestUser, a 5 second pause is inserted, and then all the other MSGs follow at once.

The expected outcome is that all messages are sent to TestUser at 5-second intervals instead.

irssibot commented 17 years ago

This is because /WAIT adds a delay before further commands are sent to the server, and neither pauses actual command execution nor allows inserting more waits (a /WAIT while one is already in effect replaces the current one).

irssibot commented 14 years ago

Im also experiencing this issue, as I need to do multiple waits in an autosendcmd. Is there a workaround available?