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.

Need some help.

Old posts that have not been replied to for several years.
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

For one thing, your newchanban command is wrong.

Code: Select all

newchanban $channel $banmask $bantime "Lame advertise!" 
should be

Code: Select all

newchanban $channel $banmask"Lame advertise!" $bantime 
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Make sure you add a space though, as that would cause an error.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Well my "newchanban" works perfectly. I'll change and test this line u told me.

Ppslim where to put some space coz I din't understand you perfectly. And why this would cause an error ? Can u be more certain pls ?

Thx!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

newchanban $channel $banmask"Lame advertise!" $bantime
should be
newchanban $channel $banmask "Lame advertise!" $bantime
The newchanban in your script does not work perfectly.

If may look like it is working, but that is only because of some backup code you put in the script.

You issue a putserv to send a ban, and one to send a kick. If the ban line wasn't there, then newchanban would fail.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Yap. I sow my mistake with "newchanban" and corect it. Thx for advice Wcc & ppslim.

At be begining this workt fine, but now I don't know why don't work and ban on any word to channel taht user. Any sugestion to fix this ?
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

because your bind mask is wrong. try "* *#*"
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Aha .. I see. I'll test it right now.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Yap. Now he binds corectly. Thx Petersen!
Locked