• Stupid javascript tricks

    From Mindless Automaton@VERT/ELDRITCH to DOVE-Net.Programming_(Jav on Mon Dec 5 09:45:00 2005
    Alrighty, there's a thread in Sync Discussion base about no one sharing ãjavascript, so I thought I'd share mine and show you why I don't share ãthem? Check this out..ããI use this to display a random logoff.ans. You have your logoff menu ãand use this as the option to logoff the user.ããã//Here comes the script..//ãã fname="logoff";ã var num = random(5)+1; //Change the number in the parenthesis to the ãnumber of ansis you have.ã fname+=num;ã bbs.menu(fname);ã bbs.hangup();ãã//End of script//ããSo this is an okay basic script I guess. One problem with it is that ãyou have to specify the number of ansis. A better script would peruse ãthe text directory for logoff.* and then display one randomly.ããI haven't bothered to figure out this additional stuff yet. :)ããEnjoy,ããMindless
    Automatonã---ã þ Synchronetã