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.

Problem with irccloud

Help for those learning Tcl or writing their own scripts.
Post Reply
e
ethanmiles
Voice
Posts: 2
Joined: Tue Sep 22, 2020 7:41 am
Contact:

Problem with irccloud

Post by ethanmiles »

Hello everyone,
I'm coming back to you about irccloud before when I was doing examples .a uDc akill au .g it only takes my uid433550@ now it takes the entire ip of irccloud: something I have a lot of Users who uses Irccloud and its penalizes everyone.

Can someone please help me?

THANKS

Code: Select all

Code:
       if {[set chost [getchanhost $nick2 $c]] ne ""} {
        switch -glob -- $chost {
            {*.irccloud.com} - {*.mibbit.com} - {*.kiwiirc.com} - {*.5A29D2BF.IP} {
                scan $chost {%[^@]} ident2
                putnow "OS AKILL ADD +3 *[string trimleft $ident2@* "~"] $reason"
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

I fail to see what's wrong with the stuff you posted, so can you provide an example?

Replace the 'putnow' with 'putlog', rehash the bot and issue a command to see what's the output.
Once the game is over, the king and the pawn go back in the same box.
User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Small tip: rather than recreate by the hand the banmask, you can use maskhost with the appropriate type
Post Reply