From Mindless Automaton@VERT/ELDRITCH to DOVE-Net.Programming_(Jav on Monday, December 05, 2005 09:45:00
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
Who's Online
Recent Visitors
Guest
Thursday, December 26, 2024 15:33:44
from
/bin/busybox Cat /proc/self/ex
via
Raw
Guest
Thursday, December 26, 2024 05:46:57
from
/bin/busybox Cat /proc/self/ex
via
Raw
Guest
Wednesday, December 25, 2024 17:22:00
from
/bin/busybox Cat /proc/self/ex
via
Raw
Guest
Tuesday, December 24, 2024 05:02:35
from
/bin/busybox Cat /proc/self/ex
via
Raw