Skip to content

Instantly share code, notes, and snippets.

@jyt jyt/cmd.js
Created Jun 12, 2009

What would you like to do?
name: "show time in",
author: {name:"jyoti", email: ""},
description:"It will show the current time in the place you specified.",
takes: {"name of a place" : noun_arb_text},
_time: function(term)
return ""+term;
preview: function(pblock,pname)
var msg="It will show the current time in "+ pname.text;
execute: function(pname)
if (pname.text=="")
displayMessage("enter name of the place whose current time u want to know");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.