This script checks if the last line of a window variable matches the last message sent in the channel. If they do not match, it clears the window variable and sets a timer to clear it every 10 seconds. It then echoes the last message and kicks the user if there are more than 2 lines in the window variable to prevent repeated messages.
This script checks if the last line of a window variable matches the last message sent in the channel. If they do not match, it clears the window variable and sets a timer to clear it every 10 seconds. It then echoes the last message and kicks the user if there are more than 2 lines in the window variable to prevent repeated messages.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
This script checks if the last line of a window variable matches the last message sent in the channel. If they do not match, it clears the window variable and sets a timer to clear it every 10 seconds. It then echoes the last message and kicks the user if there are more than 2 lines in the window variable to prevent repeated messages.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
Ce Document Est Mis À Disposition Selon Les Termes de La Licence Creative Commons "Attribution - Partage Dans Les Mêmes Conditions 4.0 International". HTTPS://WWW - Immae.eu/cours