phBot Plugins
  • Introduction
  • Example Plugins
  • phBot API
    • Client
    • Guild
    • Events
    • Players
    • Party
    • NPC
    • Character
    • Academy
    • Inventory
    • Pets
    • Monsters
    • Encoding
    • Locale
    • Config
    • Botting
    • Taxi
    • Packet Injection
    • Log
    • Game Data
    • Teleport
    • Training Area
    • Command Line Arguments
    • Movement
    • Quests
    • Drops
    • Paths
    • Script
    • Notifications
    • Alchemy
    • Misc
  • Chat API
  • Handling Script Commands
  • GUI API
Powered by GitBook
On this page
  • create_notification(string)
  • create_notification_item(string, id)
  1. phBot API

Notifications

These APIs allow you to add notifications to the log.

create_notification(string)

Usage

create_notification('my notification')

Returns

True if the notification has been added or False if it failed.

create_notification_item(string, id)

This function will allow you to have an icon for an item show up in the notification window. The ID is the model of the item.

Usage

create_notification('my notification', 69)

Returns

True if the notification has been added or False if it failed.

PreviousScriptNextAlchemy

Last updated 8 months ago