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.

Autovoice on message !add

Old posts that have not been replied to for several years.
Locked
e
eloi_egon

Autovoice on message !add

Post by eloi_egon »

Somone know of an autovoice script that voice ppl after they have typed in a certain public message, i.e. "!add"
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

Code: Select all

bind pub - !add give:autovoice
proc give:autovoice {nick host hand chan arg} {
  pushmode $chan +v $nick
} 
Elen sila lúmenn' omentielvo
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

I think he means where the bot keeps autovoicing that person when they rejoin later on..

Anyhow replacing pushmode with putquick will make it much faster

Code: Select all

bind pub - !add give:autovoice 
proc give:autovoice {nick host hand chan arg} { 
  putquick "MODE $chan +v $nick"
} 
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

In pushmode all the mode changes will be sent out at once (combined into one line as much as possible) and after the script finishes, or when 'flushmode' is called, so the eggdrop won't be kicked of the server with excess flood. :mrgreen:
Once the game is over, the king and the pawn go back in the same box.
Locked