- This script file is useful to delete all users without profiles:
.set =} userfiles
.gsh scan } .if !entpro { : .delete {
- A script to send mail only to users who are not playing Puzzle:
.arun 0 .if !puzzle { : .smail { You don't like to play Puzzle?
.for 0 users
- A backup utility script to save the user(s) files to another location:
.arun 1 .note This script expects in { the user name
.arun 1 .set =} {
.arun 1 .note Copy in } variable because
{ is modified by .gsh scan
.arun 1 .gsh scan userfiles .run 2
.arun 2 .note Copy the filename stored in
{ into backup directory...
.arun 2 .note ...if filename
contains the username stored in }
.arun 2 .gsh cd userfiles
.arun 2 .if in{ } : .gsh cp { ../backup
.arun 2 .gsh cd ..
- Some actions automatically executed when an event occurs:
.event shout .run 7
.arun 7 .social shake *
.arun 7 .tell * I'm happy,
but it's not necessary to shout too much!
.arun 7 .macro cga
The * variable contains the name of user who commit an event and
.macro cga means a colorful 'Congratulations!' message.