This is the script used by Santa Bot.
It was written on an earlier version of Self, so is probably more complex than now required now, but does give a good example of how to script responses based on context, how to associate knowledge, and how to create names.
الاسم المستعار: @Santa Bot
فئات: Self
Tags: self, santa, bot
خلق: Oct 17 2014, by: admin
ممتاز: 1, اعترض: 0, النجوم: 5.0
Language: Self
يربط: 698, اليوم: 0, الأسبوع: 1, الشهر: 3
آخر الاتصال: Yesterday, 9:15