Gammapedia is archived. No new edits are allowed and no new accounts can be registered.
User:Abwayax/Abwayax programming language/MagratheaScript.abwayax
From Gammapedia
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); }; };