Minion Nicklist

By brottor on Sep 07, 2005

Thx to tank59 and ImThePariah for helping out with code in scripting section. This is pretty much so i know how to change popups like in the code...if u know what i mean its hard to describe...but it makes people your minions and deletes them too. It serves no real purpose but i'll keep it in my remotes just to learn off it.

menu nicklist { 
  minionstuff 
  .$iif($istok(%minions,$1,32),del $1,add $1) : $iif($istok(%minions,$1,32),delminion $1,addminion $1) 
} 
alias addminion { 
  if (%minions) { 
    if ($istok(%minions,$1,32)) echo -a $1 is already your minion!!! 
    else { 
      %minions = $addtok(%minions,$1,32) 
    } 
  } 
  else set %minions $1 | me creeps up behind $1 and stabs him in the neck with a knife! | me reads some incantations to reborn $1 | say $1 is now my minion! | say %minions are my minions so far...who will be next? 
} 
alias delminion { 
  if (%minions) { 
    if ($istok(%minions,$1,32)) { 
      %minions = $remtok(%minions,$1,32) 
    }
  }
  if (%minions) { say Congrats $1 you are free to go! | say But I still have %minions $+ .
  }
  else { say Congrats $1 you are free to go! | say I have run out minions! I should recruit some.
  }
}

Comments

Sign in to comment.
brottor   -  Sep 07, 2005

questions comments post here

 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.