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.

bind ignore ?

Old posts that have not been replied to for several years.
Locked
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

bind ignore ?

Post by Ofloo »

i got bot i always get ignored on me master owner, m n, i want to make a bind event if a ignore is triggerd on a user with these flags it instantly kills the ignore and removes it from the ignore list just have one question? on what bind is this triggerd ...?
XplaiN but think of me as stupid
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

Code: Select all

bind flud - * master:flud

proc master:flud {nick uhost handle type chan} { 
  if {[matchattr $handle n] || [matchattr $handle m]} {
  return 1    
}
would this work ??? or is this wrong not sur on what it means ..
XplaiN but think of me as stupid
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

And why don't you test your stuff before posting? :P
Once the game is over, the king and the pawn go back in the same box.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

well i wrot that thingy and was like hmm that should work i tested it and no result so i tought must be missing something or doing something wrong .. ? while testing it

i tryed to ignore master from dcc and .. it still putted it to ignore
XplaiN but think of me as stupid
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Umm.. you've forgot to add an } to it to close the proc.
Once the game is over, the king and the pawn go back in the same box.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

hehe allready fixed that :/ besides that ?? is there anything i should do ?
XplaiN but think of me as stupid
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Umm.. well it's suposed not to do nothing. Add an putlog after the return 1 } something like putlog ""flooder" then star flooding and see if that msg pops out.
Once the game is over, the king and the pawn go back in the same box.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

no sorry doesn't do anything either .. ? ? so is there a way i could uningore a master or owner ? like if host matches master or owner it instantly unignores the user ?
XplaiN but think of me as stupid
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

What exactly do you want to do there? The code seems to be right.. If the proc returns 1, no further actions are taken against the flooder and if the proc returns 0 the bot will do continue with its normal punishment.
Once the game is over, the king and the pawn go back in the same box.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

If the proc returns 1, no further action is taken on the flood; if the proc returns 0, the bot will do its normal "punishment" for the flood.
hmm maybe i understood wrong .. ? so what should i do ?
XplaiN but think of me as stupid
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

If the flooder is a master or a owner should it be punished or not? I've said in my previous post wich is wich.. also, same thing you'll find in the tcl-commands.doc file at the bind flud..
Once the game is over, the king and the pawn go back in the same box.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

so i would need to add

Code: Select all

killignore $handle
or something i understood if return 1 well .. it would ignore the ignore and if return 0 it would continue ..

thats why bind if == ... then return 1 i thought it took care of it no mather what hehe stupid me oh well hehe
XplaiN but think of me as stupid
Locked