I am running eggdrop 1.6.9 (Lunix 2.4.7-10) and windrop 1.6.6-handle32 (winXp). Both running that TCL but with different triggers. eg: `status and !status
But when you load both eggdrop and windrop into the same chan and write either of them two triggers. Both bots exec the TCL, so you could say I have a little problem!! I will paste a little just to see if you guys can see where I went wrong (I cant find it).
Code: Select all
### What is the trigger that you like???
### Default: set asus(trig) "!"
set asus(trig) "`"
### What flag is needed to trigger
### Default: set asus(flag) "m"
set asus(flag) "m"
bind pub $asus(flag) $asus(trig)status asus_pub_status
bind msg $asus(flag) status asus_msg_status
proc asus_pub_status {nick uhost hand chan vasus} {
global asus botnick
asus_status $nick $uhost $hand $chan $vasus
}
proc asus_msg_status {nick uhost hand vasus} {
global asus botnick
set chan [lindex [split $vasus] 0]
if {$asus(msgtype) == "2"} {
if {[lindex $vasus 0] == ""} {
puthelp "NOTICE $nick :Usage: /msg $botnick status <#chan>"
return 0
}
}
asus_status $nick $uhost $hand $chan $vasus
}
--------------
ThePope