Graal Pastebin
New PastePasted on September 15, 2011.
View the raw file
function onActionServerSide(cmd) { if (cmd == "SetNote") { serverr.notepad = params[1]; } } //#CLIENTSIDE function onCreated() { Notepad_Window.show(); new GuiWindowCtrl("Notepad_Window") { profile = GuiBlueWindowProfile; clientrelative = true; clientextent = "559,520"; canmaximize = false; canminimize = false; canmove = true; canresize = true; closequery = false; canresize = false; destroyonhide = false; text = "Online Notepad"; x = 409; y = 97; new GuiScrollCtrl("Notepad_Scroll") { profile = GuiBlueScrollProfile; height = 494; hscrollbar = "dynamic"; vscrollbar = "dynamic"; width = 559; y = 25; new GuiMLTextEditCtrl("Notepad_Multiline") { profile = GuiBlueMLTextEditProfile; height = 17; horizsizing = "width"; text = serverr.notepad; width = 534; } } new GuiTextCtrl("Notepad_Text") { profile = GuiBlueTextProfile; height = 20; text = "Please use this responsibly, or you will be banned from using it. -Gunderak"; width = 432; x = 60; y = 2; } } onTimeout(); } function onTimeout() { triggerserver("gui", name, "SetNote", Notepad_Multiline.text); temp.t = Notepad_Multiline.gettext(); settimer(0.05); }