Blockland Forums > Modification Help
Schedules
Nexus:
--- Quote from: ZSNO on July 23, 2011, 11:20:52 PM ---Since when was an object's variable not a variable....?
--- End quote ---
The object itself is not a variable.
I kinda misread the code as %obj.schedule but it doesnt need to be an object
Wheatley:
Oh, now I see how similar this is to the event system, etc.
Thanks.
Also, I'm guessing that to loop a schedule I just tell it to call whatever function creates the schedule?
Blocker Ctgr:
Download TorqueDev its great for Syntax errors. http://www.torquedev.com/
Nexus:
--- Quote from: Wheatley on July 24, 2011, 01:27:32 AM ---Oh, now I see how similar this is to the event system, etc.
Thanks.
Also, I'm guessing that to loop a schedule I just tell it to call whatever function creates the schedule?
--- End quote ---
Yes, or you can be weird and do
--- Code: ---schedule(1000, 0, eval, "schedule(1000, 0, eval, \"schedule(1000, 0, eval, \\\"schedule(1000, 0, eval, \\\\\"echo(\"lol what was the point of this?\\\\\");\\\");\");");
--- End code ---
Lol, I probably made a mistake in there, but whatever.
Bloxxed:
With schedules, I love making client sided scripts. You could copy and paste lyrics for a song, then do in console
stillalive();
then it brings out stillalive lyrics.
so.
function stillalive();
{
etcetc
}
What I did, was I made keybinds to certain stuff, so like
function br()
{
commandtoserver('messagesent',"Brb, I have to go do something.");
}
I keybinded a letter to br(); and I could press that, and I can easily go brb/afk.