summaryrefslogtreecommitdiffstats
path: root/data/defscript/default.kvs
diff options
context:
space:
mode:
Diffstat (limited to 'data/defscript/default.kvs')
-rw-r--r--data/defscript/default.kvs37
1 files changed, 37 insertions, 0 deletions
diff --git a/data/defscript/default.kvs b/data/defscript/default.kvs
new file mode 100644
index 00000000..fb270da6
--- /dev/null
+++ b/data/defscript/default.kvs
@@ -0,0 +1,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")"