EthanPO/pokemon-online — pull request #1 by CrystalMoogle (2012-10-02 17:18:02+00:00)
Title: Script Functions/Events

New script functions/events
onPlayerJoinChan(id,channel)
Gets called everytime someone joins a channel
onPlayerLeaveChan(id,channel)
Does the opposite

beforeChannelMessage(QString,int,bool) and afterChannelMessage(QString,int,bool) captures global messages now (divides them into each individual channel so you can stop them in one channel, but keep them displaying in others)

-sys.zip(path, dir) zips up all the files from one folder (dir) (or a file if only one is specified) and puts it in the zip path
-sys.extractZip(zipName, targetDir(optional)) zipName is the name of the zip file that's being extracted. targetDir is the name of the new folder
-sys.makeDir(dirname) makes a new folder with the name dirname
-sys.removeDir(dirname) removes a folder with the name dirname (Must be empty!)
-sys.getCurrentDir() gets the absolute path for the directory client/server is currently in