Use this code:

Code:
ON *:TEXT:*:#: {
  tokenize 32 $strip($1-)
  if ($1 == !place) {
    if (!$2) { .msg $chan ( $+ $nick $+ ): Please specify a text! | return }
    if (%place == $2-) { .msg $chan ( $+ $nick $+ ): Please specify an other text, it is the same as set now! | return }
    set %place $2-
    .msg $chan ( $+ $nick $+ ): Your place has been set as $qt($2-) $+ .
  }
  if ($1 == !location) {
    if (!%place) { .msg $chan ( $+ $nick $+ ): There is NOT any place set yet! }
    elseif (%place) { .msg $chan ( $+ $nick $+ ): The location is $qt(%place) $+ . }
  }
}


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-