[wpdev-commits] xmlscripts/scripts/commands __init__.py,1.13,1.14
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-06-27 11:48:37
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9818/commands Modified Files: __init__.py Log Message: Documentation fixes. Index: __init__.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/__init__.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** __init__.py 26 May 2004 13:07:20 -0000 1.13 --- __init__.py 27 Jun 2004 11:48:28 -0000 1.14 *************** *** 3,6 **** --- 3,7 ---- from wolfpack import time from wolfpack.utilities import hex2dec + from wolfpack.gumps import cGump def season( socket, command, arguments ): *************** *** 179,183 **** --- 180,191 ---- socket.attachtarget("commands.followers_target", []) + def test(socket, command, arguments): + gump = cGump() + gump.addGump(0, 0, 0x67) + gump.addText(0, 0, "à¨Here is your bank box,".decode('utf-8'), 2) + gump.send(socket) + def onLoad(): + wolfpack.registercommand("test", test) wolfpack.registercommand("resendtooltip", resendtooltip) wolfpack.registercommand("season", season) |