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.

rehash script

Old posts that have not been replied to for several years.
Locked
User avatar
kazoo
Halfop
Posts: 48
Joined: Wed Jun 18, 2003 7:26 pm
Location: Nashville, TN
Contact:

rehash script

Post by kazoo »

Howdy,

Does anyone have or know how i would write a script for my bots to rehash on a channel trigger '.rehash'.
Any help would be well appriciated.
Thanks :)
User avatar
Xpert
Halfop
Posts: 88
Joined: Mon Mar 08, 2004 7:03 am

Post by Xpert »

Code: Select all

bind pub - .rehash rehash:pub
proc rehash:pub {nick host hand chan arg} {
  rehash
  putserv "PRIVMSG $chan :Rehashing."
}
:)
Xpert.
User avatar
kazoo
Halfop
Posts: 48
Joined: Wed Jun 18, 2003 7:26 pm
Location: Nashville, TN
Contact:

Post by kazoo »

oo, I love you!
:)
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Assign an flag to it cos is curently for ALL known or unknown users.
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 »

this is also a default msg command so if you wana rehash bot and not logon on dcc just do /msg <botnick> rehash
XplaiN but think of me as stupid
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

don't forget to put the password too after the rehash :P
Once the game is over, the king and the pawn go back in the same box.
Locked