Jump to content

Using $tip


err0r

Recommended Posts

Guest X-Fusion

Well, I'm sure it'll be useful for someone lol.

on *:TEXT:$(* $+ $me $+ *):#: {
  tokenize 32 $vstrip($1-)
  if (($version !< 6.31) && (!%tip. [ $+ [ $nick ] ])) {
    noop $tip('Tray Tip', $nick , $nick just said your name in $chan with the following message:, 10)
    noop $tip('Tray Tip', Message, $vstrip($1-), 10)
    beep
    set -u20 %tip. [ $+ [ $nick ] ] true
  }
  else {
    beep
  }
}

Link to comment
Share on other sites

Guest X-Fusion

For those that don't know how

VSIXc version:

on *:TEXT:$(* $+ $me $+ *):#: {
  tokenize 32 $vstrip($1-)
  if (($appstate == $tray) && ($version !< 6.31) && (!%tip. [ $+ [ $nick ] ])) {
    noop $tip('Tray Tip', $nick , $nick just said your name in $chan with the following message:, 10)
    noop $tip('Tray Tip', Message, $vstrip($1-), 10)
    beep
    set -u20 %tip. [ $+ [ $nick ] ] true
  }
  else {
    beep
  }
}

Regular version:

on *:TEXT:$(* $+ $me $+ *):#: {
  if (($appstate == $tray) && ($version !< 6.31) && (!%tip. [ $+ [ $nick ] ])) {
    noop $tip('Tray Tip', $nick , $nick just said your name in $chan with the following message:, 10)
    noop $tip('Tray Tip', Message, $1-, 10)
    beep
    set -u20 %tip. [ $+ [ $nick ] ] true
  }
  else {
    beep
  }
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...