Maxotek


Code Bot Maker

Check out what's been done with Pika Bot, the upcoming features.

Code Bot Maker

Postby partho » Mon Feb 11, 2008 11:32 am

The format for Pika Bot response files are being changed from the previously cryptic type to the latest form which will allow responses to be written/edited/modified in code. For example:-

Code: Select all
/*
Comment for the Condition
*/
Condition <Con1> : BuddyComesOnline
{
   BuddyName == "*";
   StatusType == "On Vacation";
}

Condition <Con2> : BuddyComesOnline
{
   BuddyName == "*";
   StatusType == "Any";
}

Effect <Eff1> : SendPrivateMessage
{
   UserName = "%OnOffBuddy%";
   Message = "Welcome Back";
}

Effect <Eff2> : MessageBox
{
   Title = "Pika Bot";
   Message = "%OnOffBuddy% is online";
   Icon = "Information";
}

String <Var1> = "DefValue";

Trigger <MyTrigger> : ON
{
   Conditions
   {
      !<Con1> && <Con2>;
   }

   Effects
   {
      <Eff1> : 25 || <Eff2>;
   }
}


Once done, specification for the code format will be released.
User avatar
partho
 
Posts: 137
Joined: Tue Jul 24, 2007 4:39 pm
Location: Kolkata, India

Return to In the works

Who is online

Users browsing this forum: No registered users and 1 guest

cron