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...
"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. ...
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 = ...
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...
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...
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,...
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 ...
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...