PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Gelöst] eggdrop: restart per tcl-script?


brahma
09.06.2005, 09:44
Moin,

man kann einen eggi ja inner Partyline neu starten mit .restart, das ja klar. Da ich aber teilweise keine telnet-verbindung aufbauen kann, wegen so dummen proxys http://coding-board.de/board/images/smilies/biggrin.gif , wäre es cool wenn ich den bot per tcl-script resetten könnte.

Geht das überhaupt? Weiß einer wie?


DarkAngel52457
09.06.2005, 13:27
##############################################
bind pub - !rehash rehash_bot
proc rehash_bot {nik uhost hand chn txt} {
global channel
rehash
putserv "PRIVMSG $channel :Rehash successful."
}
################## REHASH ###########################
bind evnt - rehash checkblow
proc checkblow { hash } {
global admin_channel
putserv "PRIVMSG $admin_channel :uiuiui %) REHASH"
}


versuche es mal so

brahma
11.06.2005, 13:08
Vielen Dank, das geht super so :)

rudi
04.07.2005, 12:06
##############################################
bind pub - !rehash rehash_bot
proc rehash_bot {nik uhost hand chn txt} {
global channel
rehash
putserv "PRIVMSG $channel :Rehash successful."
}
################## REHASH ###########################
bind evnt - rehash checkblow
proc checkblow { hash } {
global admin_channel
putserv "PRIVMSG $admin_channel :uiuiui %) REHASH"
}


versuche es mal so

Hi
das ist aber rehash und nicht restart oder sehe ich das falsch ?

ind00r
04.07.2005, 19:16
Einfach das Wort austauschen..


bind pub - !restart restart_bot
proc restart_bot {nick uhost hand chan text} {
global channel
putserv "PRIVMSG $channel :Restart erfolgt."
restart
}

ChaosKrieger
19.07.2005, 22:48
Einfach das Wort austauschen..


bind pub - !restart restart_bot
proc restart_bot {nick uhost hand chan text} {
global channel
putserv "PRIVMSG $channel :Restart erfolgt."
restart
}

bind pub - !restart ..

das is aber garnicht gut, - = alle user,

bind pub n !restart ...

n == owner , alles klar? ;)

rudi
20.07.2005, 12:13
bind pub - !restart ..

das is aber garnicht gut, - = alle user,

bind pub n !restart ...

n == owner , alles klar? ;)

Recht hat er *gg* aber ich habe es eh so gemacht
bind pub mn|nm !restart

ind00r
20.07.2005, 13:14
ja, hatte da nicht dran gedacht *duck*

wenn man das flag n hat, hat man normal auch m, also kannste auch normal nur m nehmen.