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

by DasBrain
Mon Jun 17, 2024 11:22 am
Forum: Eggdrop Help
Topic: replace letters with accent in string map
Replies: 4
Views: 2495

Re: replace letters with accent in string map

Okay, the reason you get those characters is that the result is encoded as utf-8. To fix it, put the result of http::data through encoding convertfrom utf-8. ########################################################### # # Oroscopo 1.5 tcl for eggdrop (22/03/2012) # by lnx85 at #lnxlabs on SimosNap I...
by DasBrain
Mon Jun 17, 2024 9:32 am
Forum: Eggdrop Help
Topic: replace letters with accent in string map
Replies: 4
Views: 2495

Re: replace letters with accent in string map

I think you want [encoding convertfrom utf-8] instead.
by DasBrain
Mon May 13, 2024 9:04 am
Forum: Script Requests
Topic: first 6 stacked nicks in this mass voice tcl
Replies: 4
Views: 3354

Re: first 6 stacked nicks in this mass voice tcl

Did you consider using pushmode?
by DasBrain
Thu May 02, 2024 3:27 am
Forum: Scripting Help
Topic: Time problem?
Replies: 4
Views: 3087

Re: Time problem?

You use the variable cyclechan in your proc cycle, but that variable is not listed in the global, or a parameter, or set anywhere.

Did you mean scanchan? Or did you mean cyclechan in the global statement?
by DasBrain
Thu Apr 11, 2024 12:20 am
Forum: Scripting Help
Topic: raise number?
Replies: 2
Views: 2596

Re: raise number?

Wut?

With "radio listeners" you mean humans, correct?

No, there is no Tcl script that can convince humans to do what you want.
by DasBrain
Sat Mar 30, 2024 1:32 pm
Forum: Eggdrop Help
Topic: Abusing desync ????????
Replies: 3
Views: 2591

Re: Abusing desync ????????

It is called nodesynch, with 2 n.
by DasBrain
Mon Mar 04, 2024 4:16 am
Forum: Scripting Help
Topic: How do I make the x data variable into the y data variable?
Replies: 4
Views: 3262

Re: How do I make the x data variable into the y data variable?

It seems like you want to write an UNO bot - that plays UNO as a player. So, I added the colored reverse. This should extract the information into a Tcl list: set cardstr {blue 3 wild wild draw four green draw two yellow 6 red 0 wild} set cardlist [regexp -all -inline {(?:blue|green|yellow|red) (?:\...
by DasBrain
Mon Jul 19, 2021 11:58 am
Forum: Script Requests
Topic: Check ops status on join a channel with Chanserv
Replies: 9
Views: 4075

Sure, add those 3 lines at the end of the script:

Code: Select all

proc logargs args {putlog $args}
trace add execution ::dasbrain::cswhy::onmode {enter enterstep leave leavestep} logargs
trace add execution ::dasbrain::cswhy::onnotice {enter enterstep leave leavestep} logargs
by DasBrain
Mon Jul 19, 2021 1:32 am
Forum: Script Requests
Topic: Check ops status on join a channel with Chanserv
Replies: 9
Views: 4075

My script has been written for Atheme, and works fine on libera.chat. I suspect that DALnet uses a different response to the WHY command - so my script doesn't work. As I don't use DALnet, I have no idea how their response looks like. If you do, you just have to change the regexp to match their mess...
by DasBrain
Sun Jul 18, 2021 6:32 pm
Forum: Script Requests
Topic: Check ops status on join a channel with Chanserv
Replies: 9
Views: 4075

I'm skeptical about the bind mode S as the "S" is not a known flag, I don't know how it could work. Same for the bind notc . Services need the S flag. Uppercase flags can be freely used by scripts. What is putnotc ? A private proc not included in the script ? alltools.tcl - comes with egg...
by DasBrain
Sat Jul 17, 2021 7:55 pm
Forum: Script Requests
Topic: stats
Replies: 7
Views: 3765

Well, the code is still not correctly formatted - there are linebreaks missing.

Not sure how this happened - but please fix that as well.
by DasBrain
Sat Jul 17, 2021 7:23 pm
Forum: Script Requests
Topic: stats
Replies: 7
Views: 3765

Please format your code with

Code: Select all

[code]
[/code]
by DasBrain
Mon Jul 12, 2021 8:54 am
Forum: Scripting Help
Topic: Solbu's Slowvoice
Replies: 16
Views: 10969

Anyway, how do you check if someone has his nickname registered/logged in with NickServ? Depends. Nick is registered (but you don't care if they logged in): Ask NickServ. If you share a common channel, and the network has account-notify and extended join, you can use that info. (eggdrop 1.9 keeps t...
by DasBrain
Mon Jul 12, 2021 8:21 am
Forum: Script Requests
Topic: Check ops status on join a channel with Chanserv
Replies: 9
Views: 4075

I wrote this script for you: https://github.com/DasBrain/brain-tools/blob/master/dasbrain/cswhy-1.0.tm Some notes: Services need the S flag. The script is designed to work with the Atheme service package, in the English language. To enable the script on a channel, use .chanset #channel +cswhy on the...
by DasBrain
Wed Apr 28, 2021 11:23 am
Forum: Script Support & Releases
Topic: need help in this old script
Replies: 7
Views: 4373

The documentation for the script is essentially:
#well just read the script, you'll understand :p