Skip to content
General IRCX

Using $tip

A TG007 community discussion started by err0r.

Discussion 13 posts
Page 1 of 1
Open
Topic #9744 · 13 published posts · 3,470 views

With the newer mIRC versions you are able to use $tip which will produce a little popup window sorta like live messenger you have a new email. The neat thing is that you can use it for almost anything.

 

I use it to notify me when a user mentions my nick in chat while i have it minimized. Most of us chat in several rooms at the same time and sometimes miss when someone says something to us in a different room or while we have it minimized. You could use it to notify you when someone does or says something in a non $active room or like me use $appactive to catch things when you have mIRC minimized. There are alot of things you can do with $tip. give it a try.

Get information about ircWx here

Oh..so that's why if you say 'ozzy' three times he shows up :P

Ειναι πολλα τα λεφτα Αρη.

 

 

 

:lmaojump: err0r how do I get that $tip to work in the script ... iv just upgraded my script from 6.21 to 6.31 ... did a search on that $tip but couldnt understand it .. is it a code iv got to put in the script .. any help on this would be gladly excepted :D

$tip is included by default within mIRC 6.3 and above.

Here is a notify snippet by FURBY

 

on *:TEXT:$(* $+ $me $+ *):#: {
  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, $1-, 10)
    beep
    set -u20 %tip. [ $+ [ $nick ] ] true
  }
  else {
    beep
  }
}

 

 

Get information about ircWx here

$appstate would actually work better if you only want it to alert you when you have mirc minimized in the tray

Get information about ircWx here

I haven't used this yet but it could be of some help.

 

http://www.tg007.net/downloadsmsn/pafiledb...ile&id=1048

Here is a notify snippet by FURBY

 

on *:TEXT:$(* $+ $me $+ *):#: {
  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, $1-, 10)
    beep
    set -u20 %tip. [ $+ [ $nick ] ] true
  }
  else {
    beep
  }
}

 

 

 

What would you do with it? I mean you add it to remote? You add it somewhere else? And what X said...about it being default in 6.3..how would you activate it?

Ειναι πολλα τα λεφτα Αρη.

 

 

 

That's what the $tip identifer does. I'll break that code down line by line

on *:TEXT:$(* $+ $me $+ *):#: {
;Determines if your name ($me) is said within the text the person typed
  if (($version !< 6.31) && (!%tip. [ $+ [ $nick ] ])) {
;Determines whether your version is mIRC 6.31, if it is, it continues, otherwise, it halts. Following that, it checks to see if the person that triggered the event ($nick) is set as a variable.
    noop $tip('Tray Tip', $nick , $nick just said your name in $chan with the following message:, 10)
;This preforms the 'tip' action (aka $tip) with the text. So, let's say your in #[XX][XX]Lobby and IRCx messaged you. It would do: IRCx just said your name in #[XX][XX]Lobby with the following message:
    noop $tip('Tray Tip', Message, $1-, 10)
;The actual message echo
    beep
;A beep to alert you
    set -u20 %tip. [ $+ [ $nick ] ] true
;Set's the variable for the user that messaged you, so, if they say your name again within 20 seconds, you wont get an abundance of $tip messages flooding your screen.
  }
  else {
    beep
;If you don't have 6.31 or greater, it'll just beep you to alert you
  }
}

And yes, you paste it in the remotes. If you want a VSIXc version, let me know.

I'm sorry I wasn't clear enough X. I wasn't after a line by line explanation ( though I appreciate you doing it).

 

I just wanted to know where you put it...what you save it as etc

 

Yes plz..I'd like to use it for VSIXc (currently using FlashVSI if it's of any importance).

 

Thanks.

 

 

Ειναι πολλα τα λεφτα Αρη.

 

 

 

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
  }
}

you can add a if in there so it only does it if you have mirc minimized to tray

 

if ($appstate == tray)

Get information about ircWx here

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
  }
}