Click or drag to resize

IPluginHost Methods

The IPluginHost type exposes the following members.

Methods
  NameDescription
Public methodEvaluate
Evaluates identifiers in a script line
Public methodHookCommand
Use this to add /commands, you can then suscribe to OnCommand to get data from this command
Public methodNotifyUser(String)
Use this to show information to the user. Show in currently active window
Public methodNotifyUser(Object, String)
Use this to show information to the user. Shows in the specified window of any type. Returns if the message was shown
Public methodNotifyUser(IChannel, String)
Use this to show information to the user. Shows in IChannel window Returns if the message was shown
Public methodNotifyUser(IServer, String)
Use this to show information to the user. Shows in IServer window. Returns if the message was shown
Public methodNotifyUser(IUser, String)
Use this to show information to the user. Shows in IUser window Returns if the message was shown
Public methodSendCommand
Send a /command to a Window, window can be IServer, IChannel or IUser
Public methodSendFakeRaw
Sends raw data to the client IServer, use this to fake messages E.g when you want to replace something in a PRIVMSG
Public methodSendRaw
Sends raw data to the IServer
Public methodSendRawData
Sends raw bytes to the IServer, bypasssing any encodings, AdiIRC is not aware when this messages are sent.
Public methodSystemUptime
Returns System Uptime in milliseconds if type = 1 returns a duration, if type = 2 returns a duration but without seconds, and if type = 3 returns seconds instead of milliseconds.
Public methodUnHookCommand
Remove a /command, you have defined.
Public methodUptime
Returns AdiIRC Uptime in milliseconds if type = 1 returns a duration, if type = 2 returns a duration but without seconds, and if type = 3 returns seconds instead of milliseconds.
Top
See Also