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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Thu Aug 25, 2005 3:59 am
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-Xorcist
Halfop
Posts: 47 Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:
Post
by T-Xorcist » Mon Nov 14, 2005 10:06 pm
How do you get the format like *!*@user.host.com instead of *!*
T-Xorcist@user.host.com in this particular script?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Tue Nov 15, 2005 5:41 am
T-Xorcist wrote: How do you get the format like *!*@user.host.com instead of *!*
T-Xorcist@user.host.com in this particular script?
What do you mean?
T-Xorcist
Halfop
Posts: 47 Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:
Post
by T-Xorcist » Tue Nov 15, 2005 8:21 am
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?
]Kami[
Owner
Posts: 590 Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:
Post
by ]Kami[ » Tue Nov 15, 2005 3:31 pm
scan $uhost {%*[^@]@%s} host
And then you can use this
putquick "MODE $chan +b *!*@$host
T-Xorcist
Halfop
Posts: 47 Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:
Post
by T-Xorcist » Tue Nov 15, 2005 3:41 pm
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]
]Kami[
Owner
Posts: 590 Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:
Post
by ]Kami[ » Tue Nov 15, 2005 4:01 pm
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-Xorcist
Halfop
Posts: 47 Joined: Mon Nov 14, 2005 6:36 pm
Location: Netherlands
Contact:
Post
by T-Xorcist » Tue Nov 15, 2005 4:08 pm
Yes!! Thank you very much! Apreciate it!