ASCII Table
mIRC Pastebin
Raw Numerics
User Map
User Browser
Channel Browser
IRC Junkie - IRC News (French) Scripting Website
Team Clan X Scripting Group Site mIRC Scripts Dot Com
 09 September @ 05:11am. #mirc.net @ undernet. Welcome, Guest | Sign in   
   Forums       Screenshots       Scripts       Addons       Snippets       Misc       DLLs       Tutorials       Community    
   Submit form       Download mIRC       Servers.ini       IRC News       Newbie Tutorial       Challenges       Tools    
 › snippet / $tjoin(chan,nick,network).dur

622 downloads, 1 today


  
  Project details» View Comments » Post a comment
  Description    Independent review    Updates    Statistics    Screenshots  
» $tjoin(chan,nick,network).dur [2.8KiB] by Diabu.     
Average:     (3.5/5)
Documentation:
     (4/5)
There is sufficient documentation for this snippet. Most of it is easily understandable except perhaps for the description, which is worded in a very weird way. Contact information is included, as well as some small information about the parameters that the snippet can take.
 
I would add in the documentation that this snippet only starts working when you join or another person joins a channel, because upon loading this snippet, nothing will work yet.
Functionality:
    (3/5)
This snippet returns the amount of seconds that the specified nick has been on the active channel, or the channel that you specify. Additionally, it also allows you to specify a network.
 
In order to provide this functionality, the author uses an on join event, to add the nickname to a hash table, that has as part of its name the name of the channel, and the name of the network. Because of this, the snippet will not function properly on servers that are not part of a network.
 
I would advise to the author not to use the -c switch with /hinc. This makes mIRC have to increment the hash table value each second, for each hash table entry in each hash table, something that can become quite an intensive task if you have hundreds of nicknames in your hash table. Preferable would be to store a $ctime as value of the hash table item, and to calculate $calc($ctime - $hget(table,$nick)) for the amount of seconds that a nickname has been on the channel/network.
 
There is the option to specify the .dur property, which will make the returned number of seconds formatted with the use of the $duration identifier.
 
Unfortunately, because the author uses an on join event, this identifier will only work on nicknames that have joined after you have. The author should include some aliases that fill the hash tables with all the nicknames upon loading of the addon. It would still not give an accurate measure of how long a nickname has been on a certain channel (because you can't know it), but atleast it would be better than nothing.
Design:
Not rated
This is a text based snippet which doesn't require a design rating.
Overall:
All in all, an identifier that isn't entirely useful, although some might find a use for it. The coding is not bad, has some error checking, but could be improved to leave out some redundant coding. Also be aware that not every server is part of a network, some servers don't have a value for the $network identifier, which will give unrequired results. Finally, it would be a good idea to do some initializing when the snippet is loaded, and to add in your documentation how exactly this snippet works. You shoud do this, because upon loading this snippet, nothing will work, which may cause the user to think the snippet's coding is faulty.
Reviewed by FiberOPtics.

  Comments 
18 Aug 2010 @ 08:49pm
posttoo refined,abundant wholesale classic colorful coach handbags,chanel handbags,juicy handbagsreply reply
cheapcoachhandbags
too refined,abundant wholesale classic colorful coach handbags,chanel handbags,juicy handbags
 
coach outlet
 
coach handbags
 
cheap chanel handbags
 
cheap coach handbags
 
chanel handbags
 
chanel bags
 
nike shoes
 
clothing outlet
 
shox shoes
 
ed hardy t-shirts
 
coach outlet
 
coach handbags
 
chanel handbags
 
cheap coach handbags
 
cheap coach handbags
 
chanel bags
 
puma shoes
 
ed hardy clothing
 
timberland boots
 
A&F t-shirts
 
thanks very good newest latest news
 
 
 

10 Jun 2010 @ 06:19am
post$tjoin(chan,nick,network).durreply reply
mark45678
Good Linux hosting option package offered by  ucvhost  which not only provides the best in terms of hosting packages but also believes in truly being there for the customer, 24x7. cheap vps  Moreover , they offer unlimited bandwidth as well as nearly 1GB storage along with database maintenance, email facility along with storage,availability of sub domain and many other important features for a very low price. hosting thanks
 
 
 

18 Jan 2006 @ 10:49pm
post$tjoin(chan,nick,network).durreply reply
Sparkle

hehe typos :)
but nice snippet tho
 
 
 

18 Jan 2006 @ 04:04pm
post$tjoin(chan,nick,network).durreply reply
ExOrCiSt

nice avatar :D:D

"A Person Who LegitimatelY Exercises His Rights Is Not responsible For Prejudice Resulting ThereBy."  (,My Channel,My Site)
 
 

18 Jan 2006 @ 03:30pm
post$tjoin(chan,nick,network).durreply reply
myggan

Author's Description: it returns the seconds that one  in one was determined , in one determined
 
err, what?

int heartbeat = 90; bool alive = true; char you[] = "";
void pound(char null[]) { heartbeat--; if (!heartbeat) alive = false; }
int main() { while (alive) pound(you); return 0; }
 
join #Scripting and give me pleasure.
 
 

You must be registered and logged in to be able to post comments.

Contacts & Credits  /  Contributers  /  Terms and Conditions  /  Our Logos  /  Statistics  /  Report Abuse  /  Our History  /  Advertise
Link to us:

Copyright © mIRC Scripting Network 1999-2010.
If you have found a bug, please send a pmsg to wiggle or tye (pmsg).
Page compiled in 0.258s.
35 visitors online (0 registered / 35 guests).
Using GZIP Compression.
You just ate 7.92 kb of our traffic.