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

by FallFromGrace
Thu Jan 27, 2011 9:12 am
Forum: Scripting Help
Topic: Dynamic binds...
Replies: 6
Views: 4352

it's not a best solution, but i'll try it, thanks
by FallFromGrace
Thu Jan 27, 2011 6:22 am
Forum: Scripting Help
Topic: Dynamic binds...
Replies: 6
Views: 4352

i have tried to do such thing: set x "first" bind pub - ".$x" {$x $_pub1 $_pub2 $_pub3 $_pub4 $_pub5; #} set x "second" bind pub - ".$x" {$x $_pub1 $_pub2 $_pub3 $_pub4 $_pub5; #} set x "third" bind pub - ".$x" {$x $_pub1 $_pub2 $_pub3 $_pu...
by FallFromGrace
Wed Jan 26, 2011 8:03 pm
Forum: Scripting Help
Topic: Dynamic binds...
Replies: 6
Views: 4352

"proc first" is a sample, i have another names for procedures =) I can't use your way to check $text == "", some of my commands should work both with text and without it. Any way, "bind pub - ".$cmd" {$cmd $_pub1 $_pub2 $_pub3 $_pub4 $_pub5; #}" - won't work. ...
by FallFromGrace
Wed Jan 26, 2011 6:21 pm
Forum: Scripting Help
Topic: Dynamic binds...
Replies: 6
Views: 4352

Dynamic binds...

I have a commands stored in mysql database. I want to bind them dynamically. There is no problem if i do this: set rs [mysqlsel $sql "SELECT command, private FROM commands " -flatlist] # f.e. rs = "first 1 second 1 third 1" # my commands starts with a dot # priv is a switch (0 = ...
by FallFromGrace
Wed Jan 26, 2011 2:09 pm
Forum: Eggdrop Help
Topic: can't set timezone...
Replies: 3
Views: 5286

thommey wrote:

Code: Select all

set env(TZ) "$timezone $offset"
is actually a bug (fixed in cvs), it should be

Code: Select all

set env(TZ) "$timezone$offset"
maybe that helps, too
Thank you, it works)
by FallFromGrace
Tue Jan 25, 2011 8:37 am
Forum: Eggdrop Help
Topic: can't set timezone...
Replies: 3
Views: 5286

can't set timezone...

I have a server with Debian linux, and it works perfect. But some time ago I have tried Ubuntu 10.10. It's almost same as Debian, but today i have found a problem which I still can't solve. I have a 2 bots. I need to set CET (gmt-1) timezone to first of them, and GMT+0 to anther one. I have setted u...
by FallFromGrace
Sun Oct 03, 2010 7:58 am
Forum: Eggdrop Help
Topic: Eggdrop + UTF8
Replies: 3
Views: 3441

Thanks. Bot prints "\u0414\u0416\u041A" correctly.

How can i convert my whole script to UTF8? I use UltaEdit, but i have already tried to convert it without any success.
by FallFromGrace
Sat Oct 02, 2010 2:37 pm
Forum: Eggdrop Help
Topic: Eggdrop + UTF8
Replies: 3
Views: 3441

Eggdrop + UTF8

I have downloaded Eggdrop 1.6.20. Then I have extracted it, and modified main.h and tcl.c: http://eggwiki.org/Utf-8 Then I have compiled and installed it. But when i try to use unicode: set mes "дадада" putquick "PRIVMSG $chan :\001ACTION $mes" it says something in wrong codepage...
by FallFromGrace
Wed Jun 03, 2009 4:40 pm
Forum: Eggdrop Help
Topic: "I'm not on that channel"
Replies: 3
Views: 2537

i'm on Quakenet.

which value should i use?
by FallFromGrace
Wed Jun 03, 2009 2:06 pm
Forum: Eggdrop Help
Topic: "I'm not on that channel"
Replies: 3
Views: 2537

"I'm not on that channel"

I have a problem. My bot works nice, but sometimes he cannot get users' info, and [onchan $user $chan] returns false.. Bot still answer on channel messages, but when i typed .channel in DCC chat: [21:42] <me> .channel [21:42] <bot> [21:23] #me# (#chan) channel [21:42] <bot> Processing channel #chan,...
by FallFromGrace
Thu Dec 04, 2008 4:52 pm
Forum: Scripting Help
Topic: mysql - encoding problem with non-latin strings
Replies: 0
Views: 1638

mysql - encoding problem with non-latin strings

i use eggdrop 1.6.19 with mysqltcl 3.05 Bot works nice, he can recognize russian and english letters, but i still have one problem.. I try to put some rus-lang string in database, f.e. "привет" but i can see in phpmyadmin something like "ÌÀÃÈÍÀ".. it was no problem, because when ...
by FallFromGrace
Thu Aug 21, 2008 3:23 pm
Forum: Script Support & Releases
Topic: logs2html module
Replies: 48
Views: 38956

is there a way to auto-convert logs every 5 minutes?
by FallFromGrace
Thu Aug 21, 2008 1:09 pm
Forum: Modules & Programming
Topic: Log all bot messages (patch)
Replies: 13
Views: 44358

patch command doesnt work =\

can anyone upload patched 'cmdsirc.c' file (version 1.6.19)?
by FallFromGrace
Mon Aug 18, 2008 7:42 am
Forum: Scripting Help
Topic: bind "-$comm" for command
Replies: 2
Views: 2368

bind "-$comm" for command

I want to bind "-" symbol, to use it like: -123 -test where "-" is a command, and 123/test is $text I have already did "+" with: bind pubm - "*+*" command (but "+*" doesnt works =\) how can i bind "-" symbol? bind pubm - "*-*" com...
by FallFromGrace
Tue Aug 12, 2008 7:49 pm
Forum: Scripting Help
Topic: lsort - need two-pass sort :O
Replies: 2
Views: 2581

it works ^^

tnx you )