Search found 4 matches

by MMX
Sat Jun 10, 2023 3:30 pm
Forum: Script Support & Releases
Topic: Wiki Script Slow To Output To Channel
Replies: 3
Views: 4368

There are some issues. 1. Wrong and unnecessary use of http::formatQuery - it is used to format request parameters and it takes an even number of arguments - a list of key value pairs (you're giving it just 1 argument). Because of this it gives an error (Incorrect number of arguments, must be an eve...
by MMX
Tue Jun 06, 2023 6:13 pm
Forum: Script Requests
Topic: Keyword script version 1.4.0.0
Replies: 2
Views: 2658

Maybe...

This script uses [encrypt] and [decrypt] eggdrop tcl functions, which use some hashing algorithm depending on which encryption module is loaded on your eggdrop. The script will not work on newer versions of eggdrop, because the encryption module has changed and the hashes produced by [encrypt] are d...
by MMX
Sun May 14, 2023 6:15 pm
Forum: Script Requests
Topic: random colors per character
Replies: 9
Views: 9787

Oops ;)

Oops :oops: Try this one. # random foreground and background colors from lists proc rcpc_bg {text} { set bg_colors "03 08 11" set fg_colors "01 02 05 06 10 12" foreach char [split [string trim [stripcodes * $text]] ""] { if {$char eq " "} { lappend output $cha...
by MMX
Sun May 14, 2023 4:37 pm
Forum: Script Requests
Topic: random colors per character
Replies: 9
Views: 9787

Here are two variations with and without background color. I hope they will be useful to you. # completely random colors per character, no background colors proc rcpc {text} { foreach char [split [string trim [stripcodes * $text]] ""] { lappend output "\003[expr int(rand()*15)+1]$char...