PDA

View Full Version : [Filled] Rehash from an irc chan


NeO``
03-08-2004, 01:45 PM
Ok I wanna rehash my eggdrop from my irc chan and I wanna make a tcl to do that.

If som1 can help me in my quest :)

biboun
03-08-2004, 02:03 PM
set cmdpre "!t"

set announce(REHASHEGG) "\002\[\002[c]3 REHASH [c]\002\]\002 \002Eggdrop\002 de \002\[\002[c]3 [set sitename] [c]\002\]\002 est maintenant \002Rehash\002"

bind pub o|o [set cmdpre]rehashegg proc_eggrehash

proc proc_eggrehash {nick uhost hand chan args} {
global binary announce
putquick "PRIVMSG $chan :$announce(REHASHEGG)"
rehash
}




Enjoy ;)

NeO``
03-08-2004, 02:12 PM
merci bcp :)

thx

NeO``
03-08-2004, 02:35 PM
[EDITED]


Ok with some modifications it works very nice :)

biboun
03-08-2004, 02:48 PM
No prob ;)

I miss some variable I think, I paste some parts of my scripts. ^^

pouetpouet
06-21-2004, 12:13 PM
he don't rehash and no announce :/ what's modification has been apported for good work ?

Takkero
11-11-2004, 04:09 PM
NeO``

can u write the full script pls??