My bot shows a list which is 20 lines long on !bla command. When a second request is made as long as the first output is still running, the output is done after the first.
To prevent flooding I could make a timer, but the one who made the 2nd request has to wait a long time.
Is there any possibility to make a notice (like "bot is busy, plz wait") to the 2nd user WHILE the first output is running, I mean before the bot has finished the first 20 lines?
Example:
User1: !bla
Bot: (NOTICE user1) line 1
Bot: (NOTICE user1) line 2
Bot: (NOTICE user1) line 3
User2: !bla
Bot: (NOTICE user2) "bot is busy - plz wait a minute"
Bot: (NOTICE user1) line 4
Bot: (NOTICE user1) line 5
...
Have the command that produces the output, use 'putquick' to say like "ok hold on..." when the command is first executed, and then the other output use 'puthelp' so that the putquick queue can be sent seperately from the puthelp queue..
Or you can also use the -next option for any of those queues:
puthelp <text> [options]
Description: sends text to the server, like 'putserv', but it uses a
different queue intended for sending messages to channels or people.
Options:
-next: push messages to the front of the queue
putquick <text> [options]
Description: sends text to the server, like 'putserv', but it uses a
different (and faster) queue.
Options:
-next: push messages to the front of the queue