Re: returning user node numbersã By: Ice to All on Thu Jun 09 2011 06:23 pmãã > is there a way to get a user's node number?ã >ã > example:ã >ã > 1 - Sysop at main menu via telnetã > 2 - test at main menu via telnetã > 3 - john running ChatRoom via telnetã > 4 - jane running ChatRoom via telnetã >ã > john's info would be stored in the database under [node 3]ã >ã > so im trying to figure out how to get that number.ã >ã > var nodetext = "node" + user.nodenumber;ããMost users aren't on a node, so what this 'user' object in the above context?ãYou can get the current node (of the user for which the current JS context isãexecuting) with the bbs.node_num property. If you want to see if a current userãis online, you can look thorugh the system.node_list array and see if theãuseron property matches the user number you're interested in (seeãexec/nodelist.js for an example).ãã digital manããSynchronet "Real Fact" #68:ãYou can purchase the BBS Documentary DVD set at
http://bbsdocumentary.com/order/ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã