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

by caesar
Sun Oct 01, 2023 9:59 am
Forum: Script Support & Releases
Topic: Weather Script + extras
Replies: 6
Views: 8958

Move this line:

Code: Select all

putserv "PRIVMSG $chan :\00314Three day forecast for \00307$raddress ($address)\003" 
above this line:

Code: Select all

set three_list [lreplace $three_list 0 0]
and under }.
by caesar
Fri Sep 22, 2023 11:31 am
Forum: Scripting Help
Topic: Disregard - removing the script. Can't delete this post!
Replies: 3
Views: 4704

Try with:

Code: Select all

timer $bantime [list putserv "MODE $channel -b $nick!*@$nickhost"]
by caesar
Mon Sep 18, 2023 1:56 pm
Forum: Scripting Help
Topic: Ircop eggdrop bot with SACommands
Replies: 26
Views: 17688

You might want to check your last if statements cos something doesn't feel right in there.
by caesar
Mon Sep 18, 2023 11:45 am
Forum: Scripting Help
Topic: Ircop eggdrop bot with SACommands
Replies: 26
Views: 17688

I think it's safe to remove the [onchan $nick $enforcechan] && [onchan $::botnick $enforcechan] part as the previous two checks validate them as well, meaning botisop can't return true unless bot is on the channel and the isop can't return true if nick isn't on the channel. You set the chan ...
by caesar
Sun Sep 03, 2023 11:55 pm
Forum: Script Requests
Topic: Counter help
Replies: 6
Views: 6359

Look at the bind statement and take it from there. If i where to guess, he asked ChatGTP to make this piece of code. :lol:
by caesar
Tue Jun 27, 2023 12:31 am
Forum: Script Requests
Topic: needs an upgrade :oops:
Replies: 14
Views: 13365

Open a shell on the Debian server and then type tclsh , and then package require ip and reply back with what it says. I have Debian 11: cezar@ax41:~$ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" and works: cezar@ax41:~$ tclsh % package require ip 1.4 If this fails, you ...
by caesar
Mon Jun 26, 2023 12:36 pm
Forum: Script Requests
Topic: needs an upgrade :oops:
Replies: 14
Views: 13365

I mentioned the IP package (comes with TCLlib) before (link), that offers some tools to validate IP v4 or v6.
by caesar
Mon Jun 05, 2023 3:12 am
Forum: Script Support & Releases
Topic: negative number not allowed in script
Replies: 5
Views: 6379

Fixed typos above as I did a copy/paste and forgot to replace some variables.
by caesar
Sun Jun 04, 2023 11:19 am
Forum: Script Support & Releases
Topic: negative number not allowed in script
Replies: 5
Views: 6379

Here's two options: scan and string is integer . bind pub - [cmdchar]c2f pub_c2f proc pub_c2f {nick uhost hand chan rest} { set data [lindex $rest 0] if {![isnum $data]} {putserv "PRIVMSG $nick :Calling syntax is ${cmdchar_}c2f <tempeture in celsius>" return 1} set cdata [expr $data * 1.8 ...
by caesar
Mon May 29, 2023 11:38 am
Forum: Script Requests
Topic: [SOLVED] Bartender script (PHP)
Replies: 14
Views: 14621

I copied the restoday as it was and didn't pay much attention to it. Today Fire asked me to have a look at an error he was getting and noticed that the time function had 4 arguments, while it expects 5 space separated integers of the form of "minute hour day month year". To fix this replac...
by caesar
Tue May 23, 2023 12:18 pm
Forum: Eggdrop Help
Topic: Crash!
Replies: 3
Views: 4716

And why don't you add the bug report as instructed by the message?
by caesar
Mon May 22, 2023 1:43 pm
Forum: Script Requests
Topic: [SOLVED] Bartender script (PHP)
Replies: 14
Views: 14621

Saw your code and added the 'nick change' he asked, made a few changes here and there. To name a few.. 1. Replaced [list ... ] with { .. }. From the point of view of the compiler it makes no difference, but for user it's easier to see a difference between: set replies(cola) [list "Serves icecol...
by caesar
Tue May 16, 2023 11:17 am
Forum: Script Requests
Topic: random colors per character
Replies: 9
Views: 9718

After a bit of consideration, I decided to put things to a test. The rand command (that comes with eggdrop) outputs a random value from the given LIMIT, of 0 up to LIMIT-1, thus, giving it a limit of 5, it can output the values 0, 1, 2, 3, 4. % set fg_colors "01 02 05 06 10 12" 01 02 05 06...
by caesar
Mon May 15, 2023 12:26 pm
Forum: Script Requests
Topic: random colors per character
Replies: 9
Views: 9718

Given that the rand that's implemented in eggdrop returns a random integer between 0 and limit-1, for example a [rand 10] would pick a random number from position 0 (in our case 1) up to limit (in our case it's 10) - 1, so last element will be 9, this means at least in theory, 10 will never be picke...
by caesar
Thu Apr 27, 2023 1:34 pm
Forum: Scripting Help
Topic: Need help with IPinfo Script
Replies: 23
Views: 24221

The command is !ginfo ip not !test ip, unless you changed the command from !ginfo to !test.