| 1 | This is not the full list of commands for the Idle RPG bot, but only the list
 | 
|---|
| 2 | of admin commands. For more information on the Idle RPG bot, visit
 | 
|---|
| 3 | http://idlerpg.net/
 | 
|---|
| 4 | 
 | 
|---|
| 5 | INFO, retrieve some fairly useless stats about the bot.
 | 
|---|
| 6 | 
 | 
|---|
| 7 | DIE, kills the bot.
 | 
|---|
| 8 | 
 | 
|---|
| 9 | HOG, summon the Hand of God spell. See the main help file.
 | 
|---|
| 10 | 
 | 
|---|
| 11 | RESTART, restarts the bot.
 | 
|---|
| 12 | 
 | 
|---|
| 13 | CHPASS <char name> <new password>, change a character's pass in the IRPG.
 | 
|---|
| 14 | 
 | 
|---|
| 15 | CHCLASS <char name> <new class name>, change a character's class in the IRPG.
 | 
|---|
| 16 | 
 | 
|---|
| 17 | CHUSER <char name> <new char name>, change a character's username in the IRPG.
 | 
|---|
| 18 |      Please only use in very special circumstances; otherwise, have them form
 | 
|---|
| 19 |      a new player and DEL the old one. This should not let you overwrite an
 | 
|---|
| 20 |      existing account, but is untested.
 | 
|---|
| 21 | 
 | 
|---|
| 22 | PUSH <char name> <seconds>, push a player toward his goal by subtracting time
 | 
|---|
| 23 |      from his next time to level. Please use this only if bot has mistakenly
 | 
|---|
| 24 |      penalized someone. You could also use this to punish a user by setting
 | 
|---|
| 25 |      the number of seconds to a negative number. Don't do that.
 | 
|---|
| 26 | 
 | 
|---|
| 27 | DEL <char name>, remove a user's account.
 | 
|---|
| 28 | 
 | 
|---|
| 29 | JUMP <server[:port]>, move the bot to another server.
 | 
|---|
| 30 | 
 | 
|---|
| 31 | SILENT <mode>, switch bot between 4 modes of silence.
 | 
|---|
| 32 |      - mode 0, bot sends all privmsgs.
 | 
|---|
| 33 |      - mode 1, only chanmsg() is disabled.
 | 
|---|
| 34 |      - mode 2, only privmsg()/notice() to non-channels is disabled.
 | 
|---|
| 35 |      - mode 3, privmsgs/notices to users and channels are disabled.
 | 
|---|
| 36 | 
 | 
|---|
| 37 | BACKUP, tell bot to copy $opts{'dbfile'} to .dbbackup/$opts{'dbfile'}TIMESTAMP
 | 
|---|
| 38 | 
 | 
|---|
| 39 | RELOADDB, force bot to reload player database file, rewriting all memory.
 | 
|---|
| 40 |      RELOADDB can only be used while in pause mode.
 | 
|---|
| 41 | 
 | 
|---|
| 42 | PAUSE, toggle pause mode.
 | 
|---|
| 43 | 
 | 
|---|
| 44 | PEVAL <code>, execute arbitrary argument as Perl code. Queues output > 3 lines
 | 
|---|
| 45 |      or >1k of text. Some useful PEVAL commands:
 | 
|---|
| 46 |        - Delete all accounts not logged in in 4 weeks (See also: DELOLD):
 | 
|---|
| 47 |          /msg bot PEVAL delete $rps{$_} for grep { time()-$rps{$_}{lastlogin} > 3600*24*7*4 && !$rps{$_}{online} } keys %rps;
 | 
|---|
| 48 |        - Remove one hour from everyone's clocks:
 | 
|---|
| 49 |          /msg bot PEVAL $rps{$_}{next} -= 3600 for keys %rps;
 | 
|---|
| 50 |        - List all online users, separated by commas:
 | 
|---|
| 51 |          /msg bot PEVAL join(', ',grep { $rps{$_}{online} } keys %rps);
 | 
|---|
| 52 |        - View contents of a file on remote host:
 | 
|---|
| 53 |          /msg bot peval `cat file`
 | 
|---|
| 54 |        - Turn on debug mode:
 | 
|---|
| 55 |          /msg bot peval $opts{debug}=1;
 | 
|---|
| 56 |        - Force write-out of database:
 | 
|---|
| 57 |          /msg bot peval writedb();
 | 
|---|
| 58 | 
 | 
|---|
| 59 | DELOLD <days>, remove all non-logged-in accounts inactive in the last <days>
 | 
|---|
| 60 |      days.
 | 
|---|
| 61 | 
 | 
|---|
| 62 | CLEARQ, clear the outgoing message queue. Useful to use if someone floods the
 | 
|---|
| 63 |      bot with a lot of text that it plans to respond to.
 | 
|---|
| 64 | 
 | 
|---|
| 65 | MKADMIN <username>, set the isadmin flag for a given username.
 | 
|---|