isxvg & isxirc interaction

spudman

Active Member
This may be a dumb ? but here goes. I notice that sometimes isxvg intercepts vg / commands and tries to see if it can execute them in IS. i.e. I can do a '/run vgcraftbot' inside a VG chat window to kick off vgcraftbot once isxvg is loaded. I'm now playing around with isxirc and from the IS console I can do something like "IRCUser[1].Channel[1]:Say[Hello]", but when I attempt to do "/IRCUser[1].Channel[1]:Say[Hello]" from a vg chat window it yells that it doesn't know the command, so isxvg doesn't intercept that. Yeah I know it was a long shot, but thought I'd try. So I guess I have a few questions...

1) Is the reason it's not intercepting this is because It's a function of isxirc and not general IS or is not intercepting because it's not an actual 'command', but instead a method of the isxirc IRCUser TLO?

2) Is there a way to register our own usable / commands to use inside of vg through just a script? Something similar to /alias in mq2?

What I'd like to do is get back to similar functionality that I had in mq2 bots, where I could send commands to my bots just by typing "/bc somechar dosomething" or "/i say somechar dosomething". BC was just an irc clone and /i say was a function of mq2irc i believe.

If I could, through a script, register some type of / command I would take care of the background stuff which would, in essence, convert something like "/bc sometoon dosomething" to "IRCUser[1].Channel[1]:Say["sometoon dosomething"]" and then execute that command. Or would it be possible to have some type of functionality like that added to isxirc, such as a Top Level command like 'ircsay' that would just send a message on behalf of the first user to the first channel or something?

I've looked at uplink and a few other options (such as isxirc), but you usually end up having to create a seperate UI in order to get any functionality from it and inside the game if I'm going along I'd have to click over to the ui to get focus, type some command in my predefined text box and then probably push a send button. Then get focus back to the game and continue what I was doing. A slash command would make it 100 times easier.
 

spudman

Active Member
I probably used the wrong subject header to describe this thread, but in case someone catches it in a search the answer to #2 is globalkeep atoms act as commands. Also IS parses the command before it's passed to isxvg, which was something I was indirectly asking.

Can see here and here for more info.
 

Amadeus

The Maestro
Staff member
the vgchat window will pick up on innerspace COMMANDS ...not methods. If you add new commands to innerspace (via script, extension, etc) then you would be able to use those with the vg chat window.

You'll have to ask someone intimate with lavishscript on the procedure for adding a command with a script.
 

spudman

Active Member
Yep, thanks Ama, I was just posting a response to this for future search reference was all. Got it figured out by the 2 here & here links in the previous post. :)
 
Top Bottom