Subj : Re: Global Commands
To   : SprayPaint
From : Digital Man
Date : Wed Feb 23 2005 09:30 pm

 Re: Re: Global Commands
 By: SprayPaint to Digital Man on Wed Feb 23 2005 03:11 pm

>
> >  > ok i would like to do something sort of like the sysops menu useing
> ;String
> >  > for the commands... how ever i was thinking of back to that darn
> MBBS/WG
> >  > thing again of a global package and using the key i was used to like "
> ' "
> >  > or the " ~ " how ever i wanted to do a who's on but cant seem to locate
> the
> >  > CTRL Key menu i know that ^U is who's online but what does it call...
> >  >
> >  > and if i wanted to have one for sending a message to another node what
> is
> >  > that command... basically i want to by pass the ^P and go right to
> message
> >  > mode
> >
> > I'm not really sure what want to do. Perhaps SCFG->External
> Programs->Global
> > Hot Key Events is what you're looking for? You can use these to launch any
> Baja
> > or JavaScript module at the press of a ctrl key.

> OK lets try it this way...one thing at a time... sorry my mind is always 20
> miles ahead of my hands
> Baja Command PRIVATE_MESSAGE
> This function is used for private internode messages, telegrams, or chat.
> Same as the Ctrl-P initiated function.
>
> can i just have a key defined to send inernode messages only, rather than
> giving them the choice like the Crtl-P

Yes. But you'll need to use JavaScript instead of Baja as it has finer-grained
control over those facilities. See http://synchro.net/docs/jsobjs.html for
details.

> The same thing for the who's online Ctrl-U gives just who is online, i would
> like to be able to do the same thing but not use the Ctrl-U

Absolutely.

> and yes i understand that the Ctrl-Keys are contained in the C++ code for
> the EXE it self i just wanted to make a sort of uniform globals package, i
> am working on a more indepth Major BBS clone,
>
> which makes me need to ask another question, does the chat offer any way to
> use the sysop functions like uedit or do i need to mod the chat source files
> and recomplie?

You'd need to either write a chat module in JS (see exec/irc.js for an example)
or modify the C++ source and recompile.

                                                 digital man

Snapple "Real Fact" #97:
A turkey can run at 20mph.

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net