Gammapedia is archived. No new edits are allowed and no new accounts can be registered.

Ikepedia is the officially decreed successor to Gammapedia concerning Gammasphere canon.

Infinitypedia is another successor.

User:Abwayax/Abwayax programming language/MagratheaScript.abwayax

From Gammapedia
Revision as of 03:57, 31 October 2007 by 24.243.13.121 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

/**

* MagratheaScript.abwayax
* An example of what a script for the GlitchBattle IRC client would look like.
*
*/

on msg("*moo*","#glitchbattle") { %channels["#glitchbattle"]->msg("I see we have a cow among us."); };

on msg("!eval*") { eval("*chan->msg(\"Evaluation: \" + $2)"); }

on kick() { *chan->msg(*user->name + " got kicked"); };

alias identifyme { *nickserv->identify("MyPassword"); };

alias superkill { foreach(%users[*chan->name] As $name => *user) { *user->kill($1); }; };