summaryrefslogtreecommitdiffstats
path: root/data/defscript/default.kvs
blob: fb270da6dea2d138f71aa40cbc79d685d129c8db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#################################################################################################
#
# This is the default script for KVIrc
# Feel free to use it as base for writing your own scripts
# It is a good starting point; I have tried to add as many comments as possible.
#
# Have fun :)
#   Szymon Stefanek
#
#################################################################################################

%mypath = "$file.extractpath($0)$file.ps"

# Fetch default scripts data
include "aliases.kvs" %mypath
include "events.kvs" %mypath
include "popups.kvs" %mypath
include "toolbars.kvs" %mypath

#
# Set the default spam words...(for the anti-spam) detector
#

# FIXME: these should be MERGED!!!!

#%tmp = $option(stringlistSpamWords)
#%tmp[] = $array() ???

option stringlistSpamWords "http:","#","www.","auto","query","ftp:","sex","free","msg","chat","dynamirc","script"

options.save

echo $tr("The default script has been successfully installed.")
echo $tr("To connect to a server, type /server <server name>")
echo "---"
echo $tr("Happy ircing :)")
echo "- Szymon Stefanek $tr("and the KVIrc Development Team")"