121
Modification Help / Code to cancel a schedule?
« on: June 30, 2013, 12:34:15 AM »
What was the code to cancel a schedule? It does exist, I've seen it before.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
i'm sorry but what is with your desktop wallpaperDon't ask.
Spencer is a known handicap.Yeah, I know.
Also you probably should've cropped the picture. I can hardly read that at all.
If the first variable in the function called is true then the key was pushed. If it's false then the key was released. jet(1); will make you jet forever or until the jet key is released and jet(0); will stop you from jetting.I know that, but put it in a keybind
You would do this:Huh, this was ALMOST exactly what I wanted.Code: [Select]%path = "config/client/ConsoleBot/notes/*.txt";
%count = getFileCount(%path);
for(%i = 0; %i < %count; %i ++)
{
%file = findNextFile(%path);
echo(%file);
}
EDIT: Xalos posted while I was typing.. Both methods work.
function cbnewnote(%notetitle,%s1,%s2,%s3,%s4,%s5,%s6,%s7,%s8,%s9,%s10,%s11,%s12,%s13,%s14,%s15,%s16,%s17,%s18,%s29)
{
%file = new fileobject();
%file.openforwrite("config/client/ConsoleBot/notes/"@%notetitle@".txt");
%file.writeline(%s1 SPC %s2 SPC %s3 SPC %s4 SPC %s5 SPC %s6 SPC %s7 SPC %s8 SPC %s9 SPC %s10 SPC %s11 SPC %s12 SPC %s13 SPC %s14 SPC %s15 SPC %s16 SPC %s17 SPC %s18 SPC %s19);
%file.close();
%file.delete();
echo($cbmn@"The note "@%notetitle@" saved successfully.");
}
function cbreadnote(%filename)
{
%file = new fileobject();
%file.openforread("config/client/ConsoleBot/notes/"@%filename@".txt");
%readnote = %file.readline();
echo($cbnm SPC %readnote);
%file.close();
%file.delete();
}
The reason it is spaced out like