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 6 matches

by Driber
Thu Sep 25, 2008 3:45 am
Forum: Scripting Help
Topic: string to integer
Replies: 4
Views: 3185

I didn't know tcl automatically does type-casting on variables, so I will give string trim a try

thanks
by Driber
Thu Sep 25, 2008 3:41 am
Forum: Scripting Help
Topic: log own messages
Replies: 2
Views: 2499

Code: Select all

putloglev p "#mychan" "<mybot> hello" 
thanks, nml375, that works perfect
by Driber
Tue Sep 23, 2008 4:48 am
Forum: Scripting Help
Topic: log own messages
Replies: 2
Views: 2499

log own messages

I'm trying to write a tcl script that, besides sending text to a channel, also logs that same text to the channel's logfile I just need a simple code, something like: putserv "PRIVMSG #mychan :hello" putlog #mychan "hello" can someone post the correct syntax for the putlog (or pu...
by Driber
Tue Sep 23, 2008 4:38 am
Forum: Scripting Help
Topic: string to integer
Replies: 4
Views: 3185

that's not what I'm looking for ok here is an example: I have $str which contains " 4" (that's a whitespace and a number four) I need that string to be converted to an integer so that I can calculate with it for example: incr str 1 to make it 5 the php equivalent to this would be: <?php $s...
by Driber
Sun Sep 21, 2008 6:33 am
Forum: Scripting Help
Topic: string to integer
Replies: 4
Views: 3185

string to integer

can someone please post an example of how to convert a string to an integer
by Driber
Thu Sep 18, 2008 8:27 am
Forum: Eggdrop Help
Topic: don't perform op commands
Replies: 1
Views: 2486

don't perform op commands

I have a bot up and running that is present in several channels on an IRC server. I created a custom tcl script that makes the bot reply to certain words in the channels and I want this script to be the only thing the bot reacts to. I do not want my bot to use any of the built-in features, such as f...