blob: 22fa8cd1dba13302ef5ef75c0a976118876751b0 (
plain) (
blame)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#
# Default init file for pmf.
# Thomas Padron-McCarhty, padrone@lysator.liu.se, Sept 22 1991
# Remember that all blank lines are sent to Mud, which means that you
# should probably NOT have any blank lines in the init file.
# Silent mode is on while running the init file.
#
#
# First of all, set up some things:
#
/set prompt "pmf %d> "
/set history 40
/set lines_to_save 100
/set cryptkey "Have a Coke and a Smile!"
/unset substitute_history
/unset replace_control
#
# Some very useful aliases:
#
/alias c score
/alias l look
/alias g get all
/alias ec exa corpse
/alias dc drop corpse
/alias sb sell bottle
/alias m missile
/alias k shock
/alias f fireball
/alias gc "get $1 from corpse $2"
/alias gb "get $1 from bag $2"
/alias bdb "buy beer $n drink beer"
/alias h history
#
# This alias lets you run from the church to the pub:
#
/unalias . "perform $1 >"
/alias church-to-pub ". s $n . e $n . e $n . n $n . e"
#
# Some more aliases:
#
/alias /soundon "/source %%PREFIX%%/share/pmf/soundfiles/pmf-sparc-sound"
/alias /soundoff "/unset sound"
#
# Avoid printing some of the more annoying messages:
#
# /gag "Go player says: "
# /gag "Harry says: "
#
# A simple robot action:
#
/action "$1 tells you: $2" "/beep"
/alias /on /set robot
/alias /off /unset robot
/on
|