RobRoy
public text v1 · immutableon *:Text:*define*:#: {
if $1 == %c $+ define {
;if $nick !isop $chan && $level($address($nick,2)) !> 99 { halt }
if $2 == $null { .msg $nick Command incomplete. Syntax: %c $+ define <word> | halt }
if $exists(txt\botdef.txt) == $false { msg $chan Database does not exist. | halt }
if $read(txt\botdef.txt,s,$2) == $null { msg $chan Sorry $nick $+ , but I can't find $+ $2 $+ . | halt }
msg $chan $+ $2 $+ : $read(txt\botdef.txt,s,$2)
}