anyhow, quite simple, all i need is the block of code that i need for my eggdrop (windrop actually) to check if a user is opped or not in a chan, but, the command is sent via PM, but ofc both the bot and the user will have to be in the same channel so the bot cn a check, but that's already taken into account (thats why i didnt put $chan in the proc arguments).
thx for the help
proc process {nick host hand text} {
set arbiter(cmd) "[string tolower [lindex $text 0]]"
if {![matchattr $hand o \#channel]} {
return 0
}
}