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

by caesar
Wed Jan 06, 2021 2:06 am
Forum: Scripting Help
Topic: Join Module
Replies: 9
Views: 5551

if {![matchattr $hand n|n $chan]} { puthelp "NOTICE $nick :$::fzcom(logo): You do not have access to use this command." return 0 } this part won't ever be triggered because the bind is already tied to n|n: bind pub n|n !join makejoin Instead of: if {[llength [split $text]]!=1} { puthelp &...
by caesar
Wed Dec 30, 2020 5:34 am
Forum: Scripting Help
Topic: CheckDomain.tcl
Replies: 2
Views: 2620

Go to author's website (here) and get last version (just checked and it's v1.1) as doesn't seem to have that missing "state(body)" variable and thus might fix the issue you are having.
by caesar
Thu Dec 17, 2020 1:52 am
Forum: Script Support & Releases
Topic: Bot quits as soon as joins channel
Replies: 11
Views: 6405

If you read the error message you will see that the reason it quits doesn't have anything to do with the eggdrop itself, but with the IRC Server you are connected. Investigate what's up with the OperServ session.
by caesar
Fri Nov 13, 2020 10:33 am
Forum: Script Requests
Topic: strip duplicate characters in nick and match against badnick
Replies: 35
Views: 14962

As a general rule of thumb generally it's a good idea to: 1. have variables inside an array, so you won't end up with stuff like this: global bnick bchan kickreason temp instead of having a cleaner: global something where something for example holds the following variables: set something(one) "...
by caesar
Fri Nov 13, 2020 1:55 am
Forum: Script Requests
Topic: strip duplicate characters in nick and match against badnick
Replies: 35
Views: 14962

You mean have the regexp pattern in a separate variable?

Code: Select all

regexp -options { pattern } text -> match
Just remove the pattern you got right now and put a variable instead. Shouldn't be hard to figure out.
by caesar
Thu Nov 12, 2020 1:21 pm
Forum: Script Requests
Topic: strip duplicate characters in nick and match against badnick
Replies: 35
Views: 14962

If you intend to drop the foreach loop and rely on the regexp line all you have to do is ... literally remove the foreach loop. :lol: Oh, before i forget, rename bad to badpart in the regexp line so you won't need have to change it in the match & punish part of the code. :wink: Edit: If you stil...
by caesar
Thu Nov 12, 2020 2:31 am
Forum: Script Requests
Topic: strip duplicate characters in nick and match against badnick
Replies: 35
Views: 14962

I looked at your example and I don't understand how your match is working. From my limited understanding of regexp it should match se with something in the () but there's no se in the nick to begin with. I opened up a mIRC client and tested: //echo match for ds3kss: $regex("ds3kss",/(se(x|...
by caesar
Wed Nov 11, 2020 11:48 am
Forum: Script Requests
Topic: strip duplicate characters in nick and match against badnick
Replies: 35
Views: 14962

That was expected since the badpart is what the nick was matched against. Change it and ban nick instead?
by caesar
Wed Nov 11, 2020 1:46 am
Forum: Script Requests
Topic: strip duplicate characters in nick and match against badnick
Replies: 35
Views: 14962

Code: Select all

% set bnick {
    "somenick"
    "badnick"
    {b[ae]dw[o0]rd}
}

    "somenick"
    "badnick"
    {b[ae]dw[o0]rd}

% set nick "bedw0rd"
bedw0rd
% foreach i $bnick { puts [string match -nocase *$i* $nick] }
0
0
1
seems to work as you wanted.
by caesar
Mon Nov 09, 2020 1:49 am
Forum: Script Requests
Topic: help in caps kicker tcl for arfer
Replies: 22
Views: 15843

Sure, that's what I said. :)
by caesar
Mon Nov 09, 2020 1:45 am
Forum: Script Requests
Topic: dcc por tcl
Replies: 1
Views: 2106

That's correct, the portlist variable doesn't exist. Create it.
by caesar
Sun Nov 08, 2020 4:57 am
Forum: Script Requests
Topic: help in caps kicker tcl for arfer
Replies: 22
Views: 15843

In:

Code: Select all

if {![matchattr [nick2hand $nick] $vCapsFlagsAllow $chan]} {
you don't need nick2hand $nick since you already have the hand (user account) from the proc itself.
by caesar
Fri Nov 06, 2020 2:07 am
Forum: Script Requests
Topic: raw on connect
Replies: 30
Views: 17513

Keep in mind that ip-api has a max 45 HTTP requests per minute from an IP address and the FREE service they provide isn't for commercial use, you got paid plans for that. Should consult their website.
by caesar
Thu Nov 05, 2020 7:02 am
Forum: Script Requests
Topic: except deop doesnt work
Replies: 10
Views: 5156

No, i meant flags on the channel. Ah, as suspected. Well, given that isop recognizes the special flags as a regular @ there's no way to add them to a special exception list without breaking the purpose of the script itself, meaning removing the @ and v from those that are idle. At this point the onl...
by caesar
Thu Nov 05, 2020 6:45 am
Forum: Script Requests
Topic: except deop doesnt work
Replies: 10
Views: 5156

What flags did Teddy have when you did each of the commands?