phBot Plugins
Search…
Misc

get_version()

Usage
get_version()
Returns
Bot version as a string.
1
21.1.9
Copied!

select_character(name)

Selects a character by its name.
Usage
select_character('Character_Name')
Returns
None

set_profile(name)

Changes the profile for the character.
Usage
set_profile('name')
Returns
`True` if the profile was changed otherwise `False`.

get_profile()

Returns
string with the profile name (can be empty for the default profile) or None if you are not logged in.

get_active_skills()

Returns all active skills/buffs.
Usage
get_active_skills()
Returns
Dictionary of active skills or None.
1
{
2
31107: {
3
'servername': 'SKILL_ETC_SPEED_UP_BASIC_01',
4
'name': 'Beginner scroll of movement'
5
},
6
1125: {
7
'servername': 'SKILL_CH_COLD_GANGGI_A_02',
8
'name': 'Weak Guard of Ice'
9
},
10
1102: {
11
'servername': 'SKILL_CH_COLD_GIGONGTA_A_03',
12
'name': 'Ice River Force'
13
},
14
31133: {
15
'servername': 'SKILL_ETC_E080723_STRENGTH_SCROLL_01',
16
'name': 'Strength Scroll'
17
},
18
110: {
19
'servername': 'SKILL_CH_LIGHTNING_GWANTONG_A_01',
20
'name': 'Must - Piercing Force'
21
},
22
127: {
23
'servername': 'SKILL_CH_FIRE_SHIELD_A_01',
24
'name': 'Fire Shield - Phoenix'
25
}
26
}
Copied!

disconnect()

Disconnects from the server. Does not change relog settings.
Usage
disconnect()
Returns
None

show_notification(title, message)

Shows a tray notification if the bot is minimized.
Usage
show_notification('title', 'message')
Returns
True if the arguments are correct.
False if the arguments are incorrect.

play_wav(path)

Plays a WAV file.
Usage
play_wav('C:/my_wav_file.wav')
Returns
None

reverse_return(type, name)

Uses a reverse return scroll.
Type
1
0 - Return to last return scroll
2
1 - Return to last death
3
2 - Move to party member
4
3 - Move to location
Copied!
Usage
The name argument can either be a party member name or location name.
reverse_return(0, '')
Returns
True if a reverse return was used or False if one could not be found.