This script was made for the ustream network. For it to work on other networks you will need to modify it to work with other networks. It was made so I can see nicknames for those joining chat but not logging in to the chats I am on. It also offers a quick look "Lurker Alert" look-up from a right click menu.
I have a hash table with items and descriptions in the table. when a person joins my channel/chat my script echo's to me information from the hash table. However if the table does not have a matching item my script still fires an echo line but the line does not contain any information because there is not a matching item in the hash table.
My line of script is below. I have this line within an if statement also. In an attempt to stop the script on no matching items I tried an if line like if ($gettok($hget(nicktrack,%ip),1,32) == $null) { halt } in the if loop which my statement below is in but this did not stop it from firing.
/echo -t $chan 11 New Join by: $gettok($hget(nicktrack,%ip),1,32) as $nick
Any Ideas?
Thanks for your help if you can!!
This is the best ever script for adding commands to a bot. http://hawkee.com/snippet/10160/#c108835
Been fighting this forever and no success. Any idea how to set this variable with a random number for the duration of the variable:
so I have this: set -eu900 %timerC 1 (that works fine for 900 seconds) but i need this to work: set -eu $rand(222,900) %timerC 1
I need it to set the variable %timerC with the value of 1 for a random time between 222 and 900 seconds.
Thanks SO much!!
Help please: I need a timer that will make an announcement in an IRC chat every 20 minutes. I have a text file with many one line of text (announcements) that I need the script cycle through and post in chat. So at either 0 minutes from start or 20 minutes from start I need line 1 from the text file to display in chat and then at minute 40 line two and then after say 5 or 6 lines in the text file can it start back at line 1. I have tried a timer with the play command but it does not always work properly.
Thanks!!!
Truk