- Joined
- Jul 20, 2010
- Messages
- 47
- Reaction score
- 0
I dont get that, i was talkin about Sleep command and Custom Register?
Xavi.
owh lol umm the sleepcommand is easy i don't code holo that much so i can't give you an example but i think you know
PHP:
This is example;
case "sleep":
if
{
this.statusManager.containsStatus("lay");
Room.sendSaying(roomUser, "*Falling in sleep*");
...........................(somthing to let it say zzzzzzzzzzzzz)
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE users SET energy = energy + '50' WHERE name = '" + _Username + "'");
}