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.

Unbanning through the bot.

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Obviously if that record hasn't been yet removed from the bots memory. So here being on the safeside, using it when that person not in the channel wouldn't be my idea of a working script, because sometimes the unlikely can always happen.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
T
T-Xorcist
Halfop
Posts: 47
Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:

Post by T-Xorcist »

How do you get the format like *!*@user.host.com instead of *!*T-Xorcist@user.host.com in this particular script? :D
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

T-Xorcist wrote:How do you get the format like *!*@user.host.com instead of *!*T-Xorcist@user.host.com in this particular script? :D
What do you mean?
T
T-Xorcist
Halfop
Posts: 47
Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:

Post by T-Xorcist »

Well, here you get the mask right?

set mask $n![getchanhost $n $chan]

This mask will have as result (example) T-Xorcist@host.com right?

But how can you get the mask only for *!*@host.com

So that you can get everything behind the @, but not in front?
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

scan $uhost {%*[^@]@%s} host

And then you can use this

putquick "MODE $chan +b *!*@$host
T
T-Xorcist
Halfop
Posts: 47
Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:

Post by T-Xorcist »

Yes, but now it bans my hostmask.

I did not ask my question the way I should.

I use /msg bot ban #channel nickname

How do I get the host of nickname when I try to ban that nick?

PS: I had this first: set mask [getchanhost $whom $where]
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

set mask [getchanhost $whom $where] -> But reutrned T-Xorcist@host.com ?

Well, it's simple then.

Use:

scan $mask {%*[^@]@%s} host

And while baning use variable host instead of mask (*!*@$host).
T
T-Xorcist
Halfop
Posts: 47
Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:

Post by T-Xorcist »

Yes!! Thank you very much! Apreciate it! 8)
Post Reply