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.

Command: (newban) no ban?

Help for those learning Tcl or writing their own scripts.
Post Reply
B
BaW
Voice
Posts: 2
Joined: Fri Jan 26, 2007 6:24 pm

Command: (newban) no ban?

Post by BaW »

I am using a script i wrote for #sourceringer on gamesurge but the problem i am having is that it only kicks the user and does not kick him if he joins a different channel.


This was in #sourcescrim the ban was set in #sourceringer

[14:02:40] * perfectioN|MONEYSHOT (~PR1ME@PR1ME.user.gamesurge) has joined #sourcescrim
[14:02:40] * perfectioN|MONEYSHOT was kicked by BotServ (Banned: !!!!GLOBAL BAN!!!! NO channel notice in #sourceringer. User banned (*!*@PR1ME.*.gamesurge) [24 hour ban])
[14:02:40] * perfectioN|MONEYSHOT (~PR1ME@PR1ME.user.gamesurge) has joined #sourcescrim
[14:02:43] * perfectioN|MONEYSHOT was kicked by BotServ (Banned: !!!!GLOBAL BAN!!!! NO channel notice in #sourceringer. User banned (*!*@PR1ME.*.gamesurge) [24 hour ban])


It goes on and on, how would i fix this problem and make sure the user gets banned when he comes into a channel the bot is in
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Fix your script so it works in all channels the bot is opped in.
pushmode <channel> <mode> [arg]
Description: sends out a channel mode change (ex: pushmode #lame +o
goober) through the bot's queuing system. All the mode changes will
be sent out at once (combined into one line as much as possible) after
the script finishes, or when 'flushmode' is called.
Returns: nothing
Module: irc
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply