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.

ignore script?

Old posts that have not been replied to for several years.
Locked
d
difoo
Voice
Posts: 33
Joined: Sat Jul 03, 2004 9:56 am

ignore script?

Post by difoo »

How can you ignore everyone on public trigger but leave +n users unignore?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

by binding that public trigger only to +n users..
Once the game is over, the king and the pawn go back in the same box.
d
difoo
Voice
Posts: 33
Joined: Sat Jul 03, 2004 9:56 am

Post by difoo »

What i want to do is a public !stop / !start trigger. i cant stop the script within the script and thats why i thought of .+ignore but leave +n users unignored
d
dollar
Op
Posts: 178
Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands

Post by dollar »

As caesar said, bind pub n !whatever procname would make it only listen to owners on that command.
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
d
difoo
Voice
Posts: 33
Joined: Sat Jul 03, 2004 9:56 am

Post by difoo »

yes i know dollar.

but when the script runs, everyone can use it. then i type !stop so no one can use it but +n users. and because i cant stop the script within the script (ie stop/start proc) i need to find a way how to ignore people when i did !stop in channel but +n users still unignore. now when i do !start again, it shouldnt ignore anyone.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

Stop repeating your question. You were answered. If you want only +n users to be able to trigger a bind, you have to change the bind. (ignoring is based on a mask matched against the nick!ident@host - there are no flags involved)
Make your !stop command change the binds and let the !start command change them back.
Have you ever read "The Manual"?
Locked