chat Commands: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
m (Conversion script moved page Chat Commands to chat Commands: Converting page titles to lowercase)
 
(10 intermediate revisions by 5 users not shown)
Line 4: Line 4:
Before you are allowed to use Chat Commands, Kore must recognize you as authorized or it will just ignore your commands. There are two ways to give authorizization to a player:
Before you are allowed to use Chat Commands, Kore must recognize you as authorized or it will just ignore your commands. There are two ways to give authorizization to a player:


#by using the console command auth specifying the name of the player to authorize, or
#by using the console command [[auth]] specifying the name of the player to authorize, or
#by sending Kore a private message that contains the adminPassword set in its config.txt.
#by sending Kore a private message that contains the [[adminPassword]] set in its [[:Category:config.txt|config.txt]] (only if [[inGameAuth]] is enabled).
 


==Callsign==
==Callsign==
You can send chat commands directly to Kore by using private messages, however, issuing commands in party or guild chat is different. When using party or guild chat, you need to include in your message the callSign set in its config.txt. For example, if Kore has "Slave" as its callsign, you would use the following command to make it follow you around:
You can send chat commands directly to Kore by using private messages, however, issuing commands in party or guild chat is different. When using party or guild chat, you need to include in your message the [[callSign]] set in its [[:Category:config.txt|config.txt]]. For example, if Kore has "Slave" as its callsign, you would use the following command to make it follow you around:


'''Example:'''
'''Example:'''
Line 22: Line 21:


Note however, that while the callsign can appear anywhere, the command itself must follow the proper syntax and the arguments must appear in the correct order. Avoid unnecessary punctuations.
Note however, that while the callsign can appear anywhere, the command itself must follow the proper syntax and the arguments must appear in the correct order. Avoid unnecessary punctuations.


==Command List==
==Command List==
;agi [me|<player name>]
;agi [me | <player name>]


:<player name>  
:<player name>  
Line 48: Line 46:




;bless [me|<player name>]<br/>
;bless [me | <player name>]
;blessing [me|<player name>]
;blessing [me | <player name>]


:<player name>
:<player name>
Line 71: Line 69:




;conf (<config key>) [<value>|none]
;conf <config key> [<value> | none]
;conf (<label.label_name>) [<value>|none]
;conf <label_name>.(<attribute> | block) [<value> | none]


:<config key>
:<config key>
::- a configuration key name from config.txt.  
::- a configuration key name from [[:Category:config.txt|config.txt]].  
:<value>
:<value>
::- any value depending on the configuration key being changed.  
::- any value depending on the configuration key being changed.  
:<label.label_name>
:<label_name>.<attribute>
::- by specified label name in configuration block, you can use label name instead of configuration key (see example in config.txt)
::- by specified label name in configuration block, you can use label name instead of configuration key.


:Change a configuration key.  
:Change a configuration key.  
Line 96: Line 94:
|Unset the specified configuration key.
|Unset the specified configuration key.
|-
|-
|align=center|conf <label.label_name>
|align=center|conf <label_name>.<attribute>
|Display the current value of the specified configuration key
|Display the current value of the specified attribute.
|-
|-
|align=center|conf <label.label_name> <value>
|align=center|conf <label_name>.<attribute> <value>
|Set a new value for the specified configuration key through label_name.
|Set a new value for the specified attribute.
|-
|-
|align=center|conf <label.label_name> none
|align=center|conf <label_name>.<attribute> none
|Unset the specified configuration key through label_name.  
|Unset the specified attribute.  
|}
|}


'''Examles:'''
conf lockMap ptr_fild08
conf lockMap none
conf useHP.disabled 1
conf applesEtc.block Meat


:'''''Note.''''' Kore will not disclose the username and password using this command.
:'''''Note.''''' Kore will not disclose the username and password using this command.
Line 120: Line 123:
   
   


;follow [me|<player name>]
;follow [me | <player name>]


:<player name>
:<player name>
Line 149: Line 152:




;heal [me|<player name>] (<amount hp>)
;heal [me | <player name>] (<amount hp>)
;heal (<amount hp>) [me|<player name>]
;heal (<amount hp>) [me | <player name>]


:<player name>
:<player name>
Line 175: Line 178:




;kyrie [me|<player name>]
;kyrie [me | <player name>]


:<player name>
:<player name>
Line 222: Line 225:


:<x>
:<x>
:: - x-coordinate.  
::- x-coordinate.  


:<y>
:<y>
Line 257: Line 260:




;reload (all|<names>) [except <names>]
;reload (all | <names>) [except <names>]


:<names>
:<names>
Line 325: Line 328:
:Tell Kore to sit.  
:Tell Kore to sit.  


:'''''Note.''''' To ensure that Kore will stay put, this command will set the config.txt option attackAuto to 1, and the options attackAuto_party, route_randomWalk, teleportAuto_idle, and itemsGatherAuto to 0. The original values are stored so they can be reset when the stand command is used.
:'''''Note.''''' To ensure that Kore will stay put, this command will set the [[:Category:config.txt|config.txt]] option [[attackAuto]] to '''1''', and the options [[attackAuto_party]], [[route_randomWalk]], [[teleportAuto_idle]], and [[itemsGatherAuto]] to '''0'''. The original values are stored so they can be reset when the stand command is used.
   
   


Line 341: Line 344:
:Tell Kore to stand.  
:Tell Kore to stand.  


:'''''Note.''''' If you previously used the sit command to force Kore to sit, this will set the config.txt options attackAuto, attackAuto_party, route_randomWalk, teleportAuto_idle, and itemsGatherAuto to their original values.  
:'''''Note.''''' If you previously used the sit command to force Kore to sit, this will set the [[:Category:config.txt|config.txt]] options [[attackAuto]], [[attackAuto_party]], [[route_randomWalk]], [[teleportAuto_idle]], and [[itemsGatherAuto]] to their original values.  




Line 361: Line 364:




;tank [me|<player name>]
;tank [me | <player name>]


:<player name>
:<player name>
Line 395: Line 398:
:Thank Kore for a job well done. ^_^  
:Thank Kore for a job well done. ^_^  


:'''''Note.''''' Kore will only reply to this chat command if the number of seconds set in ai_thanks_set in timeouts.txt has not yet elapsed since the last chat command succeeded.  
:'''''Note.''''' Kore will only reply to this chat command if the number of seconds set in [[Timeouts.txt#AI_Thanks|ai_thanks_set]] in [[timeouts.txt]] has not yet elapsed since the last chat command succeeded.  




Line 404: Line 407:


:<timeout key>
:<timeout key>
::- a timeout key name from timeouts.txt.  
::- a timeout key name from [[timeouts.txt]].  


:<seconds>
:<seconds>

Latest revision as of 22:34, 26 April 2021

Kore allows authorized players to issue commands by using messages in private, party or guild chat. This way, you can play using another account and still be able to control your bot.

Authorization

Before you are allowed to use Chat Commands, Kore must recognize you as authorized or it will just ignore your commands. There are two ways to give authorizization to a player:

  1. by using the console command auth specifying the name of the player to authorize, or
  2. by sending Kore a private message that contains the adminPassword set in its config.txt (only if inGameAuth is enabled).

Callsign

You can send chat commands directly to Kore by using private messages, however, issuing commands in party or guild chat is different. When using party or guild chat, you need to include in your message the callSign set in its config.txt. For example, if Kore has "Slave" as its callsign, you would use the following command to make it follow you around:

Example:

Slave follow


The callsign is not case-sensitive and it can appear anywhere in the message, but only once.

Example:

conf attackAuto slave


Note however, that while the callsign can appear anywhere, the command itself must follow the proper syntax and the arguments must appear in the correct order. Avoid unnecessary punctuations.

Command List

agi [me | <player name>]
<player name>
- a partial name of a player within Kore's immediate area.
Tell Kore to use Increase AGI on a player.
Command Description
agi
agi me
Use Increase AGI on the player who issued the chat command.
agi <player name> Use Increase AGI on the player whose name matches the specified partial name.




bless [me | <player name>]
blessing [me | <player name>]
<player name>
- a partial name of a player within Kore's immediate area.
Tell Kore to use Blessing on a player.
Command Description
bless
bless me
blessing
blessing me
Use Blessing on the player who issued the chat command.
bless <player name>
blessing <player name>
Use Blessing on the player whose name matches the specified partial name.




conf <config key> [<value> | none]
conf <label_name>.(<attribute> | block) [<value> | none]
<config key>
- a configuration key name from config.txt.
<value>
- any value depending on the configuration key being changed.
<label_name>.<attribute>
- by specified label name in configuration block, you can use label name instead of configuration key.
Change a configuration key.
Command Description
conf <config key> Display the current value of the specified configuration key.
conf <config key> <value> Set a new value for the specified configuration key.
conf <config key> none Unset the specified configuration key.
conf <label_name>.<attribute> Display the current value of the specified attribute.
conf <label_name>.<attribute> <value> Set a new value for the specified attribute.
conf <label_name>.<attribute> none Unset the specified attribute.

Examles:

conf lockMap ptr_fild08
conf lockMap none
conf useHP.disabled 1
conf applesEtc.block Meat
Note. Kore will not disclose the username and password using this command.




date
Ask Kore for the current date and time.




follow [me | <player name>]
<player name>
- a partial name of a player within Kore's immediate area.
Tell Kore to follow a player.
Command Description
follow
follow me
Follow the player who issued the chat command.
follow <player name> Follow the player whose name matches the specified partial name.




follow stop
Tell Kore to stop following.




heal [me | <player name>] (<amount hp>)
heal (<amount hp>) [me | <player name>]
<player name>
- a partial name of a player within Kore's immediate area.
<amount hp>
- the amount of hp that will be healed.
Tell Kore to use Heal on a player.
Command Description
heal <amount hp>
heal <amount hp> me
heal me <amount hp>
Use Heal on the player who issued the chat command.
heal <player name> <amount hp>
heal <amount hp> <player name>
Use Heal on the player whose name matches the specified partial name.




kyrie [me | <player name>]
<player name>
- a partial name of a player within Kore's immediate area.
Tell Kore to use Kyrie Eleison on a player.
Command Description
kyrie
kyrie me
Use Kyrie Eleison on the player who issued the chat command.
kyrie <player name> Use Kyrie Eleison on the player whose name matches the specified partial name.




logout
Tell Kore to quit.




look (<body dir>) [<head dir>]
Tell Kore to look in a certain direction. See similar console command look for the list of values for body and head directions.




mag
Tell Kore to use Magnificat.




move (<x> <y>) [<map name>]
move (<map name>) [<x> <y>]
<x>
- x-coordinate.
<y>
- y-coordinate.
<map name>
- the name of a map as shown by the where command in Kore, or the /where command in the Ragnarok Online client (e.g. prontera, morocc, prt_fild08, etc.).
Tell Kore to move.
Command Description
move <x> <y> Move to the specified coordinates on the current map.
move <map name> Move to the specified map.
move <x> <y> <map name>
move <map name> <x> <y>
Move to the specified coordinates on the map.




move stop
Tell Kore to stop all movements.




reload (all | <names>) [except <names>]
<names>
- a list of words that match config and table filenames.
Reload configuration and table files.
Command Description
reload all Reload all configuration and table files.
reload <names> Reload config and table files that match the specified list of names.
reload <names> except <names> Reload config and table files that match the first specified list of names except those that match the list of names after the except keyword.
reload all except <names> Reload all config and table files except those that match the specified list of names.


The following example will reload all config files inside the 'control' folder.

reload control


The next example will reload all table files inside the 'tables' folder except for tables\itemsdescriptions.txt, tables\portals.txt, tables\portalsLOS.txt, and tables\skillsdescriptions.txt.

reload tables except itemsdesc portals skillsdesc




relog [<seconds>]
<seconds>
- the time in seconds.
Tell Kore to log out then log in again.
Command Description
relog Logout and then login after 5 seconds.
relog <seconds> Logout and then login after the specified number of seconds.




shut up
Tell Kore to turn verbose off. Kore will not reply to chat commands when verbose is off.




sit
Tell Kore to sit.
Note. To ensure that Kore will stay put, this command will set the config.txt option attackAuto to 1, and the options attackAuto_party, route_randomWalk, teleportAuto_idle, and itemsGatherAuto to 0. The original values are stored so they can be reset when the stand command is used.




speak
Tell Kore to turn verbose on. Kore will reply to chat commands when verbose is on.




stand
Tell Kore to stand.
Note. If you previously used the sit command to force Kore to sit, this will set the config.txt options attackAuto, attackAuto_party, route_randomWalk, teleportAuto_idle, and itemsGatherAuto to their original values.




status
Ask Kore for status information (HP, SP, base and job levels, base and job experiences, weight, and zenny).




stop
Tell Kore to stop all movements.




tank [me | <player name>]
<player name>
- a partial name of a player within Kore's immediate area.
Tell Kore to tank for a player.
Command Description
tank
tank me
Start tanking for the player who issued the chat command.
tank <player name> Start tanking the player whose name matches the specified partial name.




tank stop
Tell Kore to stop tank mode.




thank
thn
thx
Thank Kore for a job well done. ^_^
Note. Kore will only reply to this chat command if the number of seconds set in ai_thanks_set in timeouts.txt has not yet elapsed since the last chat command succeeded.




timeout (<timeout key>) [<seconds>]
<timeout key>
- a timeout key name from timeouts.txt.
<seconds>
- the time in seconds.
Set Kore's timeouts.
Command Description
timeout <timeout key> Display the current value of specified key name.
timeout <timeout key> <seconds> Set a new value for the specified key name.




town
Tell Kore to respawn back to the save point.
Note. Unless Kore is dead, it needs a Butterfly Wing in inventory, or the Teleport Skill, to respawn.




where
Ask Kore for its current location.