on *:text:!set roster *:#: {
if ($nick isop $chan) {
set %roster $3-
}
}
on *:text:!roster:#: {
msg $chan Roster: %roster
}
Rather than checking if the nick is an op for setting the roster, you could use:
if ($nick == somenick) { }
Or, you can put the nick in your User List with a level such as 500 and then change the first line to:
on 500:text:!set roster *:#: {