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: Difference between revisions
From Gammapedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
on msg("!eval*") { | on msg("!eval*") { | ||
eval("*chan->msg(\"Evaluation: \" + $2)"); | eval("*chan->msg(\"Evaluation: \" + $2)"); | ||
} | }; | ||
on kick() { | on kick() { |
Latest revision as of 03:57, 31 October 2007
/**
* 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); }; };