Isxri/combatbot Behind The Scenes Commands For Scripts

Herculezz

ISX Specialist
I have received a few requests for some of the basic commands to make RI/CB move/do other stuff. so I have compliled a list of some of the more frequently used commands. As always if theres anything else you would like to see or know how to do don't hesitate to ask, ISXRI and CombatBot are fully extensible, you can build off them, add to them, etc all via your own scripts and interact with them like as if they are your own coding.

Well here goes:

P.S. if you don't understand how to implement these I recommend checking out Atoms -
http://www.lavishsoft.com/wiki/index.php/LavishScript:Atoms and Objects -
http://www.lavishsoft.com/wiki/index.php/LavishScript:Script-Defined_Object_Types

RIMovement Atoms:
RI_Atom_MoveBehind(string aWho, string aRI_Var_Int_MoveBehindMobID, int aDistance, int aHealth, string aFallBackPCName)
RI_Atom_MoveInFront(string aWho, string aRI_Var_Int_MoveInFrontMobID=0, int aDistance, int aHealth, string aFallBackPCName)
RI_Atom_ChangeLockSpot(string aWho, float aX, float aY, float aZ)
RI_Atom_ChangeLockSpotByChg(string aWho, int aXChg, intaYChg, int aZChg)
RI_Atom_SetRIFollow(string aWho, string aWhoFollowID=0, int aMin=1, int aMax=100)

Methods of RIMUIObj: (RIMUI the actual ui does not need to be running to access these)
LoadRIMovement()
MC(... args)
Invite(... args)
MultipleCommands(... args)
StopMove(string ForWho=ALL)
ComeOn(string ForWho=ALL)
SetRIFollow(string ForWho=ALL, string OnWho=OFF, int Min=1, int Max=100)
SetLockSpot(string ForWho=ALL, string X=${Me.X}, float Y=${Me.Y}, float Z=${Me.Z}, int Min=1, int Max=100)
PauseBot(string ForWho=ALL)
ResumeBot(string ForWho=ALL)
PauseRIM(string ForWho=ALL)
ResumeRIM(string ForWho=ALL)
PauseRI(string ForWho=ALL)
ResumeRI(string ForWho=ALL)
Cast(string ForWho, string SpellName, int CancelCast=0)
CastOn(string ForWho, string SpellName, string CastName, int CancelCast=0)
Assist(string ForWho, int OnOff, string OnWho)
Depot(string ForWho)
ApplyVerb(string ForWho, string Actor, string Verb)
AcceptReward(string ForWho)
AutoRun(string ForWho)
CampDesktop(string ForWho)
CampLogin(string ForWho)
CampCharacterSelect(string ForWho)
Jump(string ForWho)
EndBots(string ForWho)
Crouch(string ForWho)
Hail(string ForWho, string HailWho)
Mentor(string ForWho, string MentorWho)
UnMentor(string ForWho)
Target(string ForWho, string TargetWho)
UseItem(string ForWho, string ItemName)
UnloadISXRI(string ForWho)
HailOption(string ForWho, int Option)
CloseTopWindow(string ForWho)
PetAttack(string ForWho)
PetBackOff(string ForWho)
ToggleWalkRun(string ForWho)
RunScript(string ForWho, string ScriptName)
EndScript(string ForWho, string ScriptName)
ExecuteCommand(string ForWho, string CommandName)
FoodDrinkReplenish(string ForWho)
Repair(string ForWho)
Special(string ForWho)
Revive(string ForWho)
FoodDrinkConsume(string ForWho, int OnOff)
Door(string ForWho, int Door)
EquipCharm(string ForWho, string Charm)
ChoiceWindow(string ForWho, int Choice)
PotionConsume(string ForWho, int OnOff)
PoisonConsume(string ForWho, int OnOff)
CallGH(string ForWho)
Zone(string ForWho)
PotionReplenish(string ForWho)
PoisonReplenish(string ForWho)
Flag(string ForWho, string GetTake=Take)
Evac(string ForWho)
CancelAllMaintained(string ForWho)
LockSpotPop(string ForWho)
RIFollowPop(string ForWho)
AssistPop(string ForWho)
DoorPop(string ForWho)
PreHeal(string ForWho=ALL, string OnWho)
RIFollowChange(string ForWho, int IncDec)
RIMUIClose()
RIMUILoad()
LoadRaidGroupHud(string ForWho)
UnLoadRaidGroupHud(string ForWho)
LoadNearestNPCHud(string ForWho)
UnLoadNearestNPCHud(string ForWho)
LoadNearestPlayerHud(string ForWho)
UnLoadNearestPlayerHud(string ForWho)

Methods of RI_Obj_CB:
ChangeProfile(string ProfileName)
ImportOgre()
EndBot()
Assist(string OnOff, string AssName=FALSE)
SetUISetting(string _SettingName, string Value)
FaceNPC(int OnOff)
CastOn(string _CastName, string coCastTarget=FALSE, bool CastNow=FALSE)
Cast(string _CastName, bool CastNow=FALSE)
Pause(int OnOff, int pauseRIM=0)
ModifyCastStackAbiltiesListBoxItem(string AbilityName, bool Enabled)
CancelAllMaintained()
Debug(bool Enabled)
CastingDebug(bool Enabled)
ModifyCastStackAbilityType(string AbilityType, bool Enabled)
AddOnEvents(string _OnEventsType, string _OnEventsCommand, bool _Disabled=FALSE)
AddPrePostCast(string FirstAbility, string SecondAbility, bool Before, bool Disabled=FALSE)
AddItem(string ItemName, string ItemEffect)
AddAssist(string AssistName, bool Disabled=FALSE)
AddAnnounce(string AnnounceName, string AnnounceTarget, string Announcement, bool Disabled=FALSE)
AddCastStackAbilitiesListBoxItem(string _AbilityDisabled, string _AbilityName, int _ExportPosition, string _Type, string _Target, string _%, string _#, string _SD, string _SE, string _SAE, string _RIE , string _MAX, int _Savagery, int _DissonanceLess,int _DissonanceGreater)
EditCastStackAbilitiesListBoxItem(string _AbilityDisabled, string _AbilityName, int _ExportPosition, string _Type, string _Target, string _%, string _#, string _SD, string _SE, string _SAE, string _RIE , string _MAX, int _Savagery, int _DissonanceLess,int _DissonanceGreater, int OrderedItem)
AddAlias(string AliasName, string AliasFor, bool Disabled=FALSE)
AddInvisAbility(string AbilityName, bool Disabled=FALSE)
SetDefaulProfile(string _Profile)
DeleteProfile(string _Profile)
SaveProfile(string _Profile)

Members of RI_Obj_CB:
string GetUISetting(string _SettingName)
 
Last edited:

Multicharacter

Senior Member
I'm trying to stop the casting of the Bottled item on Xerxes Kade, so I tried this:
ModifyCastStackAbiltiesListBoxItem(string AbilityName, string EnableDisable)

RI_Obj_CB:ModifyCastStackAbiltiesListBoxItem["Item: Bottled Endless Courage",Disable] (because the 2nd variable is string). When that didn't work I tried just using 0, but it still wanted to cast the ability. Is this the incorrect method to use to disable something from the cast list, or am I just using it wrong?
 

Herculezz

ISX Specialist
RI_Obj_CB:ModifyCastStackAbiltiesListBoxItem[Item:Bottled Endless Courage,FALSE]
will turn it off in the cast stack
RI_Obj_CB:ModifyCastStackAbiltiesListBoxItem[Item:Bottled Endless Courage,TRUE]
will turn it back on

if you are relaying the command dont forget to include the entire command in "" or it still strip out the ,

relay all "RI_Obj_CB:ModifyCastStackAbiltiesListBoxItem[Item:Bottled Endless Courage,FALSE]"

for example

P.S. 0 should work as well BUT you need not have a space after Item: and before Bottled, also it should be bool and not string, I edited the first post
 
Last edited:

Multicharacter

Senior Member
Is there a way to turn off RI's gathering of collectibles so I can run around and gather them all later by hand after it's cleared a zone?
 

Herculezz

ISX Specialist
RI_Var_Bool_GrabShinys:Set[FALSE]

will make RI ignore shinys

P.S. I need to update OP because there are alot more than when i first posted this.
 

Herculezz

ISX Specialist
Is there a variable to turn 'Move behind' off and on?
Yes RIMUIObj:SetMoveBehind[]
args:
Accepts Unlimited Arguments in Sets of 4
ALL ARGUMENTS REQUIRED:
Argument 1: For Who
Argument 2: On/Off/Toggle (1/0/-1)
Argument 3: Move Health
Argument 4: Skip Move Health Check (TRUE/FALSE)

so for example to toggle it on and off with moving at 99 and not skipping move check for all clients would be:
relay all RIMUIObj:SetMoveBehind[ALL,-1,99,0]

Also there is a rimui button you can setup for this as well, its under SetMoveBehind in the Available commands drop down
 

Herculezz

ISX Specialist
method PauseRI(string ForWho=ALL)
and
method ResumeRI(string ForWho=ALL)

so RIMUIObj: PauseRI[ALL] or RIMUIObj:ResumeRI[ALL]
 

Multicharacter

Senior Member
method PauseRI(string ForWho=ALL)
and
method ResumeRI(string ForWho=ALL)

so RIMUIObj: PauseRI[ALL] or RIMUIObj:ResumeRI[ALL]
Neither command seems to pause or resume RI for me when used in a script. (Also, when adding it to RIMUI CC neither button seems to do anything there either.)
 

eddie43302

Senior Member
is there a way to make the zone scripts do certain bosses in the zone cause the bot geeked out on me and my dudes died but the bot doesn't know that and keeps trying to run into a wall. is there anyway to get to the next name and type something in so he knows what script to run.
 

Herculezz

ISX Specialist
is there a way to make the zone scripts do certain bosses in the zone cause the bot geeked out on me and my dudes died but the bot doesn't know that and keeps trying to run into a wall. is there anyway to get to the next name and type something in so he knows what script to run.
RI Pull Named will engage the script for the named, its usually either the first or last name, one or the other not both.
 
Top Bottom