mIRC Home    About    Download    Register    News    Help

Print Thread
SNotice Help #127638 15/08/05 05:13 PM
Joined: Aug 2005
Posts: 6
C
ChrisWoodworth Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Aug 2005
Posts: 6
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?

Re: SNotice Help #127639 15/08/05 06:01 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
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 }


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: SNotice Help #127640 15/08/05 06:17 PM
Joined: Aug 2005
Posts: 6
C
ChrisWoodworth Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Aug 2005
Posts: 6
unfortunatly its still showing server name instead of the nick

Re: SNotice Help #127641 15/08/05 06:34 PM
Joined: Dec 2004
Posts: 11
D
DanielC Offline
Pikka bird
Offline
Pikka bird
D
Joined: Dec 2004
Posts: 11
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.

Re: SNotice Help #127642 15/08/05 06:41 PM
Joined: Aug 2005
Posts: 6
C
ChrisWoodworth Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Aug 2005
Posts: 6
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.

Re: SNotice Help #127643 15/08/05 06:47 PM
Joined: Dec 2004
Posts: 11
D
DanielC Offline
Pikka bird
Offline
Pikka bird
D
Joined: Dec 2004
Posts: 11
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] 

Re: SNotice Help #127644 15/08/05 07:12 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
Re: SNotice Help #127645 15/08/05 08:04 PM
Joined: Aug 2005
Posts: 6
C
ChrisWoodworth Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Aug 2005
Posts: 6
thanks that worked

Re: SNotice Help #127646 16/08/05 12:33 AM
Joined: Aug 2005
Posts: 128
S
stefys99 Offline
Vogon poet
Offline
Vogon poet
S
Joined: Aug 2005
Posts: 128
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