Plugin:Welcome

From IRCBotWiki
Jump to: navigation, search

The Welcome plugin is designed to provide user-interaction and friendliness to the bot. So far it has a Magic 8 Ball, Spin the Bottle, Weather service, and greets Admins & DJs when they join the channel.

Contents

Triggers (Channel)

!spinbottle

Triggers (Channel/PM)

!ping [public/private] [nick]
 Can specify public or private for in-channel !pings, default is set in ircbot.conf. If nick is not given, it pings the user who typed !ping.

Triggers (Channel/PM/Console)

!8ball question
!weather [c/f] [city or zip code] (city or zip code must be present the first time you use !weather, after that it will remember your last used city)

IPC Messages Supported

IB_ONJOIN (to greet Admins/DJs)

Configuration

See Configuration page.

Custom Messages (Welcoming function)

WelcomeOnJoinX, where X should be a level between 1 and 4. This is a raw IRC command that IRCBot should perform when a user of X level joins a channel it is on.
The plugin considers Level 1 to be a user with flags +m, 2 = +o, 3 = +h, 4 = +d
Example:
WelcomeOnJoin1=PRIVMSG %chan :%chan Welcomes %nick, Bot Admin
Usable variables: %nick, %chan, %level, and all built-in variables

Custom Message (Spin The Bottle)

You can customize the actions and output of !spinbottle with the following messages.

SpinBottleActions=make Out with|kiss|make love with|have Sex with|kiss the ass of|lick|smooch|hump|go on a date with|lick|french kiss
SpinBottle0=The bottle is slowing down...
SpinBottle1=The bottle stopped...
SpinBottle2=It landed on...
SpinBottle3=%target!
SpinBottle4=%target must %action %nick!
Usable variables: %nick, %chan, %action, %target, and all built-in variables

Custom Message (Ping)

You can customize the output of !ping with the following messages.

PingUser=Round-trip between me and %target: %lagsec secs
PingTimeout=Timed out trying to ping %target!
Usable variables: %nick, %target, %lagsec (the lag in seconds), %lagms (the lag in milliseconds), and all built-in variables

OS Support

Operating System: Win32 Win64 Native Linux/Unix FreeBSD
Supported: Yes Yes Yes Yes



IRCBot vde

IRCBot main pages
Main PageInstallationChangelogCommandsPluginsFAQConfigurationCreditsRemote ClientBuilt-In VariablesMulti Sound Server ModeUsername Character Restrictions
Auto DJ Pages
Auto DJ Main PageWebRequest SystemSchedulerMP3 EncoderVoice SupportMySQL Plugin
Personal tools