PuNkTuReD commented on a Page, Auto-Ghoster  -  Nov 17, 2010

if ($me == %db) {
and
elseif (%db == $me) {
are the same thing arent they.

you also wouldnt need the halt if you used elseif with the second if statement and used && instead of ||

alias Ghostcheck {
  echo $active 4*** Carrying out Ghost-check ***
  if ($me == %db) { .timer 1 1 /echo $active 4*** No ghost nicks *** }
  elseif (%db ison $chan) && ($me != %db) { ns ghost %db %dp | echo $active 4*** Ghost is killed *** | identify }
}

id also recommend changing the alias from "identify" to something else, as some networks this is a default command and if someone wants to use your script, but use a different nick they pretty much cant.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.