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

by DasBrain
Thu Apr 11, 2024 12:20 am
Forum: Scripting Help
Topic: raise number?
Replies: 2
Views: 90

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: 148

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: 3
Views: 126

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: 3311

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: 3311

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: 3311

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: 2938

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: 2938

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: 8271

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: 3311

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: 3613

The documentation for the script is essentially:
#well just read the script, you'll understand :p
by DasBrain
Wed Apr 28, 2021 11:11 am
Forum: Script Support & Releases
Topic: need help in this old script
Replies: 7
Views: 3613

The M flag does exist. It's one of the 26 custom flags that scripts can use:
There are also 26 user-defined global flags (A-Z).
You can give it to someone with .chattr <handle> +M
by DasBrain
Thu Apr 15, 2021 2:33 pm
Forum: Scripting Help
Topic: Setting $chan when not a arg
Replies: 18
Views: 8893

There is an other way - as you can pass any data through the CTCP ping (the other side will return the data back to you), you can use this to keep track of who this PING belongs to. In other words, if you send a "/CTCP <somenick> PING FOO", they will reply with "/CTCR <yournick> PING ...
by DasBrain
Thu Apr 15, 2021 11:44 am
Forum: Script Requests
Topic: Store host of nicks that quit IRC for a short period
Replies: 31
Views: 12589

By the way, there is also /whowas nick. :D
by DasBrain
Sat Apr 10, 2021 8:55 am
Forum: Scripting Help
Topic: Using format
Replies: 3
Views: 2429

1) What do you want your trigger to look like? Really just "!w los+angeles, United States"? 2) The API is described here: https://openweathermap.org/current Use [http::geturl http://api.openweathermap.org/data/2.5/weather?[http::formatQuery ...]], as the API seems to look like it uses GET ...