IPluginHost Methods |
The IPluginHost type exposes the following members.
Name | Description | |
---|---|---|
Evaluate |
Evaluates identifiers in a script line
| |
HookCommand |
Use this to add /commands, you can then suscribe to OnCommand to get data from this command
| |
NotifyUser(String) |
Use this to show information to the user. Show in currently active window
| |
NotifyUser(Object, String) |
Use this to show information to the user. Shows in the specified window of any type.
Returns if the message was shown
| |
NotifyUser(IChannel, String) |
Use this to show information to the user. Shows in IChannel window
Returns if the message was shown
| |
NotifyUser(IServer, String) |
Use this to show information to the user. Shows in IServer window.
Returns if the message was shown
| |
NotifyUser(IUser, String) |
Use this to show information to the user. Shows in IUser window
Returns if the message was shown
| |
SendCommand |
Send a /command to a Window, window can be IServer, IChannel or IUser
| |
SendFakeRaw |
Sends raw data to the client IServer, use this to fake messages
E.g when you want to replace something in a PRIVMSG
| |
SendRaw |
Sends raw data to the IServer
| |
SendRawData |
Sends raw bytes to the IServer, bypasssing any encodings, AdiIRC is not aware when this messages are sent.
| |
SystemUptime |
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.
| |
UnHookCommand |
Remove a /command, you have defined.
| |
Uptime |
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.
|