| |
|
| jaystew - Wed Nov 09, 2011 12:11 pm |
|
|
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
|
|
|
|
| Jethro - Wed Nov 09, 2011 1:42 pm |
|
|
You already know how to use $iif(), so you can apply that to show the true or false condition in the same manner:
for instance. |
|
|
|
| jaystew - Thu Nov 10, 2011 11:20 am |
|
|
| 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 |
|
|
| Use this:Untested though... |
|
|
|