I have decided to include a "unshitlist option". This will require changing the menu format to

A-Voice Control
.Shitlist
.Un-Shitlist

I also want the script to check if the nickname is already shitlisted. If the nickname is not already shitlisted, it will echo that it's not shitlisted. If it IS shitlisted, it would unshitlist and echo. This is what I have come up with, but something is messed up with the menu. How can I fix it?

Code:
menu nicklist {
  $iif(# == #mpot,A-Voice Control)
  $iif(# == #mpot,.Shitlist Nick):/write shitlist.mrc $$1 yes
  $iif(# == #mpot,.Unshitlist Nick):{ 
    elseif ($read(shitlist.mrc, s, $$1) == yes) { /write -ds $+ $$1 shitlist.mrc | /echo -a Unshitlisted Nickname. }
    elseif ($read(shitlist.mrc, s, $$1) != yes) { /echo -a Nickname is not shitlisted. }
  }
}

Last edited by Mpot; 12/11/07 03:28 AM.