Help with script
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting
 
jaystew  -  Wed Nov 09, 2011 12:11 pm Reply with quote
Hello

I have a script that i use as a nick tracker. It works by doing !ntrack - When you do this it shows what other nicknames that current nick has used and when it was last on site.

E.g Botnick - Nickname has used nick1 nick 2 and was last seen on date and time

When using the script if a person joins for the first time ever and you use it, it will only show there current nickname (which is right). However if you do it on a nick that has never been on the channel (eg a made up nick) it will just show the below...

Botnick - Nickname has used nicks: and was last seen on:

Is the a way to make it so if that user has never been on site before it will come back with something like This user is unknown to me.

The below code is what i currently use, I tried toadd it myself but had no luck with it.

Thanks

Code

 
Jethro  -  Wed Nov 09, 2011 1:42 pm Reply with quote
You already know how to use $iif(), so you can apply that to show the true or false condition in the same manner:

Code

 
for instance.
jaystew  -  Thu Nov 10, 2011 11:20 am Reply with quote
I havent scripted in a long time and cant remember what i am doing, this was just one i found in some i was playing with that needed a lil work
Jethro  -  Thu Nov 10, 2011 1:44 pm Reply with quote
Use this:

Code

 
Untested though...
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.