Difference between revisions of "OgreIRC:OgreIRC"
m (→Commands: table format changes for consistency and maintainability (cell spacing); sort command list alphabetically) |
(→Commands) |
||
Line 706: | Line 706: | ||
|- | |- | ||
− | |rowspan="4"|<center>'''-Uplinkoption<br /> UO'''</center> | + | |rowspan="4"|<center>'''-Uplinkoption<br /> -UO'''</center> |
|colspan="2"|Changes various UI options in Ogrebot.<br /> | |colspan="2"|Changes various UI options in Ogrebot.<br /> | ||
This should work for any option that does NOT require changing something in the priority tab (IE: Cure Curses, and cure pots will NOT work).<br /> | This should work for any option that does NOT require changing something in the priority tab (IE: Cure Curses, and cure pots will NOT work).<br /> |
Revision as of 20:59, 24 June 2014
OgreIRC
Summary
OgreIRC - hooks into your uplink and allows commands to pass through it.
This is a very advanced feature. It is generally used for two purposes. As a method of "connecting" players together to control each others bots. Generally in a raid situation. Secondly, for extremely advanced control of some of OgreBot features. Because OgreIRC has pure CLI (Command Line Interface) with many of OgreBots functions, you can set up some additional functionality over standard MCP commands. Because it is built around it coming from an outside source, it always takes parameters of who it's for, rather than blanket relay alls (although many MCP commands have the standard who it's for).
OgreIRC is 100% unsupported. You are more than welcome to try it, provide feedback on bugs/features, but there will be no timelines. Unless you have a use for it, and are a seasoned user/scripter, I wouldn't recommend taking on this task.
Requirements / Setup
- ISXIM - This is a free download from isxgames.com. Link
- It must be updated (load the extension once).
- It is only required on the 1 computer that will be acting as the bridge between IRC and your local network.
- Do NOT add it to your startup. There is no need to load it anywhere, or do anything with it (other than ext isxim once so it updates).
- Data.xml
- Rename the file: scripts/OgreIRC/bak.data.xml to data.xml (remove the bak.)
- Edit this file.
- UplinkName - This is the name of the uplink that the IRC bridge will be running on.
- IRCServer - IRCServer you will be connecting too.
- DefaultUser - IRC Name
- DefaultChannel - IRC channel. At this time, only 1 channel is supported.
- ChannelPassword - Password for IRC Channel...
- The last 3 have to do with logging characters in automatically. This is NOT coded at the time of writing this, with minimal plans to implement it.
Usage
- There are 2 "scripts" running. One in the uplink (OgreIRC), and one in each game session (OgreIRCSession). How OgreIRC works, is the OgreIRCSessions send information to OgreIRC in the uplink, and it is passed to the IRC channel. Likewise, when information is received from the IRC channel, it is read by OgreIRC, and passed to OgreIRCSessions.
- Load your sessions, and in the console on the computer where you want the IRC bridge, type: ogre irc
- This will relay all other sessions to load OgreIRCSession, as well as load OgreIRC into the uplink. These are bruteforce checks, so if one of them is already running, you'll get "script is already running". That is fine.
- To use the in-game interface, you need to open it by hitting Control+~ IE: The same way you open the console, but hold control down. (For those technical reading this, I realize ~ isn't really the key you are pressing, but it's much easier than trying to get people to see the difference between ' and `, and most people think the tilde key is default.)
- Any tells recieved will go to the OgreIRCConsole window ingame.
- Any message sent to IRC that contains NULL, will be cut off at the NULL. For example: If you had a message that read: "Hello there NULL NULL NULL", it would only output "Hello there". Likewise, if you have a message that read "Hello NULL NULL there NULL", it would only output "Hello".
[08:29:22] [08:29:22] <~Kannkor> Simply put... [08:29:50] [08:29:50] <~Kannkor> Each IRC line has to start with !c <ForWhichIRCBot>, so usually it's for everyone: !c all [08:29:53] [08:29:53] <~Kannkor> Then you can stack commands [08:29:55] [08:29:55] <~Kannkor> For example: [08:30:54] [08:30:54] <~Kannkor> !c all -cs all -jst-off casters -jst-off troubador -jstout all -assist someone all -assist someoneelse anotherperson -holdup all [08:30:56] [08:30:56] <~Kannkor> etc etc [08:31:03] [08:31:03] <~Kannkor> That one is obviously full of random commands [08:31:05] [08:31:05] <~Kannkor> But you get the idea
Colours
- Yes, colours. OgreIRC is Canadian, deal with it!
- Green = Chat intended for a human.
- Red = A chat command intended for the bot.
- Yellow = An in-game tell.
Commands
- All commands to be sent interpreted by the bot, must start with "!command [For who]" (a space after the d), or for the lazy, "!c [For who]" works fine too. Following this, any -command <parameter> will work. IE: !c All -available kannkor
- For who possibilities
- All - All bots will listen.
- Bot_Name - Only the specific bot will listen. Note: This is NOT the name of a toon, it is the name of the IRC bot.
- Me - This will only work for the person giving the command. Do not confuse this with in-game aliases. You CAN NOT USE 'me' AS A PARAMETER FOR COMMANDS. Use ${Me.Name} for that. The 'me' alias ONLY works immediately after "!c"
- For who possibilities
- Commands. Note, majority of these are identical to how their MCP counterpart works.
Command | Parameter & Description | |
---|---|---|
For right clicking on actors and selecting an option. Verb IS CASE SENSITIVE!!! | ||
Parameter 1 | ActorID | |
Parameter 2 | Verb | |
-AcceptReward |
-Accepts a quest reward. Note: Only works if there is NOT an item choice. | |
Parameters | N/A | |
-Ass |
Changes assist | |
Parameter 1 | PersonToAssist | |
Parameter 2 | CommandForWho | |
When auth is active, it overrides all ignore settings. When all auth is removed, it reverts back to the ignore settings.
| ||
Parameter 1 | For who | |
Lists everyone on the auth list. | ||
Parameters | N/A | |
-Presses the OgreBotAutoRunKey found in eq2chars (default is num lock). | ||
Parameters | N/A | |
-ATT |
This is merely a shortcut to doing -UO ForWho checkbox_autotarget_enabled TRUE | |
Parameter 1 | For Who | |
Parameter 2 | TRUE/FALSE | |
-a |
Checks to see if a toon is logged in. | |
Parameter 1 | who | |
-Calls to Guild Hall | ||
Parameters | N/A | |
-Any session running Ogrebot will camp to desktop. | ||
Parameters | N/A | |
-cs |
Sets campspot for the specified target | |
Parameter 1 | who | |
Cancels an ability with the specified name. | ||
Parameter 1 | AbilityName | |
Casts a spell. | ||
Parameter 1 | who | |
Parameter 2 | Spell to cast | |
Casts a spell. | ||
Parameter 1 | who | |
Parameter 2 | Spell to cast | |
Parameter 3 | who to cast on | |
-ChangeCS -CCS |
Changes campspot. | |
Parameter 1 | x Coord | |
Parameter 2 | Y Coord | |
Parameter 3 | Z Coord | |
-ChangeCSW -CCSW |
Change the campspot. | |
Parameter 1 | ForWho | |
Parameter 2 | X Coord | |
Parameter 3 | Y Coord | |
Parameter 4 | Z Coord | |
-CCastStack -CCStack |
Change something in the cast stack. | |
Parameter 1 | ForWho - Example: all | |
Parameter 2 | Name of Caststack item - Example: Cure Curse | |
Parameter 3 | Value - Example: Toggle / TRUE / FALSE | |
-Closes the most recently opened in-game window. | ||
Parameters | N/A | |
-ComeToMe |
Have specified target move directly to you. | |
Parameter 1 | Person to move to | |
Parameter 2 | who to move | |
Parameter 3 | Precision | |
-Runs the connect uplink script. | ||
Parameters | N/A | |
CampSpot -JoustOff-JoustIn (Same as MCP -CS-JO-JI) | ||
Parameter 1 | who | |
Parameter 2 | who should Joust off | |
-Loads the dev bot on all sessions. | ||
Parameters | N/A | |
-Disbands everyone from their group/raid. | ||
Parameters | N/A | |
-Runs the disconnect uplink script. | ||
Parameters | N/A | |
-DoorX |
When you are zoning into a location and it gives you an option, this is considered a "door". Example: Going to Great Divide 1, 2, or 3. | |
Parameter 1 | Door # | |
-Ends Ogrebot on all sessions. | ||
Parameters | N/A | |
Relays endscript. | ||
Parameter 1 | ScriptName | |
Cast Evacuate on any toon that has one. | ||
Parameters | N/A | |
-F-Follow |
Forces Auto-Follow to turn on. | |
Parameters | N/A | |
Presses "End" (fly/swim down). Pressing it a second time does NOT TOGGLE it. | ||
Parameters | N/A | |
Releases both Home and End. | ||
Parameters | N/A | |
Presses "Home" (fly/swim up). Pressing it a second time does NOT TOGGLE it. | ||
Parameters | N/A | |
-FlyDownForWho -FlyStopForWho |
Fly up, Fly Down, Fly Stop for specific toon. | |
Parameters | Toon Name | |
-Gets a rally banner (flag). | ||
Parameters | N/A | |
Same as raid, but passes the message with chattype group instead of raid. | ||
Parameter 1 | Message | |
Does a "HoldUp" for the specified target | ||
Parameter 1 | who | |
Use Clerics Immaculate Resurrection. | ||
Parameter 1 | HowManyDeadToCast | |
-Raidinvite |
Staggers invites to group/raid members, and allows them a short opportunity to accept before continuing on | |
Parameter 1 | <Inviter> | |
Parameter 2 | <Invitee> | |
Example | If you wanted to invite 3 people you would have:
-Invite Kannkor primalz -invite Kannkor eq2bob -raidinvite Kannkor saha | |
-joustin |
JoustIn for the specified target | |
Parameter 1 | who | |
-joustoff |
JoustOff for the specified target | |
Parameter 1 | who | |
-joustout |
JoustOut for the specified target | |
Parameter 1 | who | |
-Relays press space (default jump). | ||
Parameters | N/A | |
-LATL |
Loads a saved autotarget list for selected toons | |
Parameter 1 | List Name | |
Parameter 2 | Who should load the list | |
Does a "LetsGo" for the specified target | ||
Parameter 1 | who | |
-Loads the bot on all sessions. | ||
Parameters | N/A | |
-loads ISXOgre. | ||
Parameters | N/A | |
Loads the OgreBot profile. | ||
Parameter 1 | Who | |
Parameter 2 | ProfileName | |
-Toggles OgreBot Main window | ||
Parameters | N/A | |
-Toggles mount on or off. | ||
Parameters | N/A | |
-MoveToArea |
Have specified target move directly to the XZ coordinate. | |
Parameter 1 | X Coord | |
Parameter 2 | Z Coord | |
Parameter 3 | who to move | |
Parameter 4 | Precision | |
-Sets the NoMove flag. Removed by using "LetsGo" | ||
Parameters | N/A | |
-Clears everyone's target. | ||
Parameters | N/A | |
OFol--- |
Decreases the distance of OgreFollow | |
Parameters | N/A | |
OFol-++ |
Increases the distance of OgreFollow | |
Parameters | N/A | |
OFol |
OgreFollow. | |
Parameter 1 | who | |
Parameter 1 | who to follow | |
- Pauses the bot | ||
Parameters | N/A | |
Forces pets to back off. | ||
Parameters | N/A | |
-ToGuild |
-Clicks on the portal to guild house (Generally from your house). | |
Parameters | N/A | |
-LoadProfile |
Loads the OgreBot profile. | |
Parameter 1 | ProfileName | |
Fires the OnChat event for each session. Any script monitoring this event can handle it however they desire. Example: !c all -raid "set up for legatus" Note: This does NOTE send a message into the game, it only sparks the event. | ||
Parameter 1 | Message | |
Casts the DoV raid debuff on the specified target. Note: If you use ALL - everyone will cast it (not recommended). | ||
Parameter 1 | WhoToCast | |
Parameter 2 | ID or Name of Target | |
-Cancels all your maintained abilities that appear in your spellbook. (Note: Because it works off of your spellbook (Ability Export), it will NOT remove mounts/potions etc). | ||
Parameters | Who | |
-Reloads the bot ONLY if Ogrebot is active already. | ||
Parameters | N/A | |
-RepairGear |
-Repairs gear. | |
Parameters | N/A | |
-Removes the "StopRes" flag. | ||
Parameters | N/A | |
-Casts priest res stone. | ||
Parameters | N/A | |
- Resumes the bot | ||
Parameters | N/A | |
-Forces toons to revive. (Note: You should die less). | ||
Parameters | N/A | |
-Walk -RunWalk |
-Pressed "Shift+r" to toggle run/walk. | |
Parameters | N/A | |
Puts the IRC bot to "sleep". It will only respond to the -wake command.
| ||
Parameter 1 | For who | |
-Clicks the nearest special. Note: This only fires if OgreBot is loaded. | ||
Parameters | N/A | |
-Clicks the nearest special for toon specified. Note: This only fires if OgreBot is loaded. | ||
Parameters | ForWho | |
Specified Target targets the TargetName | ||
Parameter 1 | CommandForWho | |
Parameter 2 | TargetName | |
This will ONLY send the message from the "From" character, to the "To" character, with the "Message". If the message contains the word "NULL" it will fail. | ||
Parameter 1 | To | |
Parameter 2 | From | |
Parameter 3 | Message | |
-Test script for Kannkor. | ||
Parameters | N/A | |
Removes the IRCBotname from the auth list.
| ||
Parameter 1 | For who | |
Removes everyone from the auth list. | ||
Parameters | N/A | |
-Unloads ISXOgre. | ||
Parameters | N/A | |
-UO |
Changes various UI options in Ogrebot. This should work for any option that does NOT require changing something in the priority tab (IE: Cure Curses, and cure pots will NOT work). | |
Parameter 1 | CommandForWho | |
Parameter 2 | ObjectName | |
Parameter 3 | NewValue | |
-Uses the rally banner (flag). | ||
Parameters | N/A | |
Uses an item. | ||
Parameter 1 | who | |
Parameter 2 | Item to use | |
Uses an item. | ||
Parameter 1 | who | |
Parameter 2 | Item to use | |
Parameter 3 | Who to use Item on | |
Takes the IRC bot out of "sleep" mode.
| ||
Parameter 1 | For who | |
-Toggles Warlock Mythical | ||
Parameters | N/A | |
-Clicks the zone object if available. | ||
Parameters | N/A | |
Resets every available zone. There is no confirmation of any sort for this button. When you press it, it resets every zone available. | ||
Parameter 1 | For Who |
Not implemented
MCP Buttons not implemented at this time. Most of these require special coding, or require infinite Parameters, which isn't possible (yet).
- Trak-HUD
- Turt-HUD
- RelayRunScript
- RawCommand
- OgreBotAtom
- OgreBotAtomRelay
- ExecuteAtom
- OgreCommand