This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 13 matches

by mdixon4az
Wed Dec 17, 2003 1:27 pm
Forum: Archive
Topic: command for date and time
Replies: 1
Views: 809

command for date and time

In mIRC scripting there is a $adate and $time commands to return the current date and time in US format. Is there a similar command in TCL?

thanks
by mdixon4az
Mon Dec 15, 2003 2:16 am
Forum: Archive
Topic: removing lines from a text file
Replies: 8
Views: 1851

I have it basically working, only thing I have noticed if is that each time I use the command to find and remove a line from the file it adds an extra blank line to the new file. How can I get it to stop doing that?

Thanks
by mdixon4az
Sun Dec 14, 2003 12:44 pm
Forum: Archive
Topic: removing lines from a text file
Replies: 8
Views: 1851

Great, I will add that and test it out, make sure I don't mess something up. I would also like to add a search function, can you help me with that as well?

Thanks
by mdixon4az
Wed Dec 10, 2003 4:42 pm
Forum: Archive
Topic: removing lines from a text file
Replies: 8
Views: 1851

ok, well, I guess that would work too. do !old.info 4 and it would remove line 4 from the file

how would I do that?
by mdixon4az
Wed Dec 10, 2003 4:13 pm
Forum: Archive
Topic: removing lines from a text file
Replies: 8
Views: 1851

Exact. For example. !new.info would read the file and message the person that used that trigger each line of the file.

I want to be able to do !old.info and just cut & paste one of the lines after the trigger to get it to remove that line and resave the file.

Know how?

Thanks
by mdixon4az
Wed Dec 10, 2003 4:02 pm
Forum: Archive
Topic: removing lines from a text file
Replies: 8
Views: 1851

removing lines from a text file

I figured out how to read and message the contents of a file to a user that types a command, but how do you search a file for a specific line and delete it?
by mdixon4az
Wed Nov 19, 2003 5:38 pm
Forum: Archive
Topic: mIRC script to TCL
Replies: 12
Views: 3662

OK, it has everal triggers that do various things. One trigger would add names to a file I guess since I don't know if TCL has anything like mIRC's hash tables. The file would be in the format <nick> <Day>, <US format date> In mIRC I had two options for this command. One was to just trigger the even...
by mdixon4az
Wed Nov 19, 2003 11:14 am
Forum: Archive
Topic: mIRC script to TCL
Replies: 12
Views: 3662

can you convert it?
by mdixon4az
Wed Nov 19, 2003 11:06 am
Forum: Archive
Topic: mIRC script to TCL
Replies: 12
Views: 3662

on *:start: { if (!$hget(temp1)) hmake temp1 100 if (!$hget(temp2)) hmake temp2 100 if (!$hget(temp3)) hmake temp3 100 if (!$hget(temp4)) hmake temp4 100 if (!$hget(temp5)) hmake temp5 100 if (!$hget(temp6)) hmake temp6 100 if (!$hget(temp7)) hmake temp7 100 if ($exists(" $+ $scriptdir $+ temp1...
by mdixon4az
Wed Nov 19, 2003 10:27 am
Forum: Archive
Topic: mIRC script to TCL
Replies: 12
Views: 3662

is there a TCL equal for a hash table? I use like 5 tables in this script
by mdixon4az
Tue Nov 18, 2003 11:46 pm
Forum: Archive
Topic: mIRC script to TCL
Replies: 12
Views: 3662

mIRC script to TCL

Don't suppose anyone would be willing to take a mIRC script I wrote and convert it to TCL. I am not familiar enough with TCL and it's syntax to convert it myself.

Thanks
by mdixon4az
Mon Oct 13, 2003 11:29 am
Forum: Archive
Topic: Problems with eggdrop
Replies: 3
Views: 3775

No they stop sending channel chat to users that have been idle for 30 minutes. We just set up a script to keep it talking.

Thanks
by mdixon4az
Sun Oct 12, 2003 12:18 pm
Forum: Archive
Topic: Problems with eggdrop
Replies: 3
Views: 3775

Problems with eggdrop

I have two eggdrops running, but they seem to go "idle" and stop monitoring the channel activities. For example, one is running trivia, after an hour or two the trivia will stop mid questions and the bot stops logging everything said in the channel. I have the config files set to log all c...