mIRC Homepage

SNotice Help

Posted By: ChrisWoodworth

SNotice Help - 15/08/05 05:13 PM

I'm working on this script
and the $nick Identifyer is driving me nuts
Its giving me the Server name instead of the person who did the whois.

on 1:SNOTICE:*is doing a whois on you*:{ set %temp12343 $nick | //echo [ %temp12343 - has performed a /whois on you. ] }

im looking for identifyers in the help but im not geting any help on what i want to have done

anyone have any idea?
Posted By: Lpfix5

Re: SNotice Help - 15/08/05 06:01 PM

Quote:
I'm working on this script
and the $nick Identifyer is driving me nuts
Its giving me the Server name instead of the person who did the whois.

on 1:SNOTICE:*is doing a whois on you*:{ set %temp12343 $nick | //echo [ %temp12343 - has performed a /whois on you. ] }

im looking for identifyers in the help but im not geting any help on what i want to have done anyone have any idea?



well I cant psychially test due to not being ircop'ed on any servers however I would assume your script should be

on *:SNOTICE:*is doing a whois on you*:{ echo -a $nick - has performed a $chr(303) $+ Whois on you }
Posted By: ChrisWoodworth

Re: SNotice Help - 15/08/05 06:17 PM

unfortunatly its still showing server name instead of the nick
Posted By: DanielC

Re: SNotice Help - 15/08/05 06:34 PM

You're recieving a server notice, so you wouldn't be able to use the $nick identifier. therefore
Code:
  on 1:SNOTICE:*is doing a whois on you*:{ set %temp12343 $nick | //echo [ %temp12343 - has performed a /whois on you. ] } 
wouldn't work.
I'm not sure if this work's but try.
Code:
 on *:SNOTICE:*is doing a whois on you*: //echo [ $+ $$1 - has performed a whois on you ]  

if that doesn't work, look at your server notice, and count how many words in the nickname doing the whois is in.
Posted By: ChrisWoodworth

Re: SNotice Help - 15/08/05 06:41 PM

it still didnt work

[15:39] -irc.Call-Center-Hell.com- *** Notice -- SiteDir (Eastsider@I.Am.The.Evil.Site.Director) is doing a whois on you

irc.Call-Center-Hell.com - has performed a /whois on you.
Posted By: DanielC

Re: SNotice Help - 15/08/05 06:47 PM

what exactly was echoed to you when you used
Code:
on *:SNOTICE:*is doing a whois on you*: //echo [ $+ $$1 - has performed a whois on you ]  
?

I'm sorry I'm not of better help. I haven't used miRC in quite some time. I was an avid miRC scripter before, but now I don't have access to miRC on the computers I'm able to use.
.. After looking on google. I found
Code:
 on *:snotice:*did a /whois on you*: { echo -a  [ $+  $2 Just done a whois on you] 
Posted By: Riamus2

Re: SNotice Help - 15/08/05 07:12 PM

Quote:
it still didnt work

[15:39] -irc.Call-Center-Hell.com- *** Notice -- SiteDir (Eastsider@I.Am.The.Evil.Site.Director) is doing a whois on you

irc.Call-Center-Hell.com - has performed a /whois on you.


Here you are:

Code:
on *:SNOTICE:*is doing a whois on you*:{ echo [ $+ $$4 - has performed a whois on you $+ ] }


That assumes that 4 is the correct token. You may have to try and see...

*** Notice -- SiteDir
*** should be token 1
Notice should be token 2
-- should be token 3
SiteDir should be token 4 (the nick you're looking for)

If you find it is displaying something else, change $$4 to another number. Just count the token ("words") and figure out where it needs to be.
Posted By: ChrisWoodworth

Re: SNotice Help - 15/08/05 08:04 PM

thanks that worked
Posted By: stefys99

Re: SNotice Help - 16/08/05 12:33 AM

Quote:
Quote:
I'm working on this script
and the $nick Identifyer is driving me nuts
Its giving me the Server name instead of the person who did the whois.

on 1:SNOTICE:*is doing a whois on you*:{ set %temp12343 $nick | //echo [ %temp12343 - has performed a /whois on you. ] }

im looking for identifyers in the help but im not geting any help on what i want to have done anyone have any idea?



well I cant psychially test due to not being ircop'ed on any servers however I would assume your script should be

on *:SNOTICE:*is doing a whois on you*:{ echo -a $nick - has performed a $chr(303) $+ Whois on you }


Dear Lpfix5, Characters are from 0 to 255. There are 256 characters. Character 303 is not existing.
Anyway, $chr() is not using 303 to return you the character, he is using 303 % 255, and that's why 303 works for you, but anyway, using a character bigger than 255 is lame, since there isn't one
© 2021 mIRC Discussion Forums