summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtmw-info146
1 files changed, 146 insertions, 0 deletions
diff --git a/tmw-info b/tmw-info
index db11a14..8a7cfcf 100755
--- a/tmw-info
+++ b/tmw-info
@@ -35,6 +35,7 @@ trap FINISH EXIT
help(){
echo "tmw-info [command] [STRING]"
echo " help / --help / -h (this help screen)"
+ echo " cmds (ManaPlus and GM command reference)"
echo " news (reads game news)"
echo " online (shows online players)"
echo " gm-update (downloads all GM logs. Should be run before searching)"
@@ -344,6 +345,151 @@ MUTATIONS: $(echo "$LINE" | awk '{print $56}') MUTATION STR: $(echo "$LINE" | aw
DROPS: $DROPS\n\
"
done < "$TMW_INFO/mob-search$LAST_COUNT.tmp"
+elif [ "$1" == 'cmds' ];then
+ echo '
+/closeall - close all whispers.
+/ignoreall - add all whispers to ignore list.
+/msg NICK text, /whisper NICK text, /w NICK text - send whisper message to nick.
+/query NICK, /q NICK - open new whisper tab for nick.
+/help - show small help about chat commands.
+/target NICK - select nick as target. Can be monster or player nick.
+/targetmercenary - target closest mercenary.
+/targetpet - target pet.
+/outfit N - wear outfit number N.
+/outfit next - wear next outfit.
+/outfit prev - wear previous outfit.
+/talkpet TEXT - talk from your pet.
+/emote N - use emotion number N.
+/emotepet N - use emotion number N from your pet.
+/away, /away MSG - set away mode.
+/pseudoaway, /pseudoaway MSG - set/unset pseudo away mode.
+/follow NICK - start follow mode.
+/imitation NICK - start imitation mode.
+/heal NICK - heal nick.
+/move X Y - move to X,Y position in short distance.
+/movetotarget - move to target position.
+/movetohome - move to home position.
+/sethome - set home position.
+/navigate x y - move to position x,y in current map in any distance.
+/mail NICK MSG - send offline message to NICK. Working only in tmw server.
+/disconnect - quick disconnect from server.
+/attack - attack target.
+/atkhuman - select and attack nearest player.
+/magicattack - attack target with magic.
+/undress NICK - remove all clothes from nick. Local effect only.
+/addattack NAME - add monster to attack list.
+/addpriorityattack NAME - add monster to priority attack list.
+/removeattack NAME - remove monster from attack list.
+/addignoreattack NAME - add monster to ignore attack list.
+/setdrop N - set drop counter to requested value.
+/drop - drop N items from 0 slot.
+/dropn - drop N items from any slot.
+/info - show guild info. Only for native guilds only.
+/wait NAME - wait for nick or moster with name.
+/gm MESSAGE - send message to all online gms.
+/catchpet - try to catch pet.
+/trade NICK - start trade with nick.
+/priceload - load shop price from disc.
+/pricesave - save shop price to disc.
+/ignore NICK - add nick to ignore list.
+/unignore NICK - Remove nick from ignore list.
+/friend NICK, /befriend NICK - add nick to friends list.
+/disregard NICK - add nick to disregarded list.
+/neutral NICK - add nick to neutral relation list.
+/blacklist NICK - add nick to blacklist relation list.
+/erase NICK - add nick to erased list.
+/enemy NICK - add nick to enemies list.
+/createparty NAME - create party with selected name.
+/me text - send text to chat as /me command in irc.
+/serverignoreall - ignore all whispers on server side.
+/serverunignoreall - unignore all whispers on server side.
+/who - print online players number to chat.
+/present - print visible players number to chat.
+/all - show visible beings list in debug tab.
+/where - print current player position to chat.
+/cacheinfo - show text cache info.
+/uptime - show client uptime.
+/dumpe - dump environment variables into chat.
+/dumpg - dump graphics and some other settings to chat.
+/dumpgl - dump OpenGL version into chat.
+/dumpt - dump tests info into chat.
+/dumpogl - dump all OpenGL variables into log file.
+/dumpmods - dump all enabled mod names into chat.
+/dirs - show client dirs in debug chat tab.
+/uploadconfig - upload main config into pastebin service.
+/uploadserverconfig - upload server config into pastebin service.
+/uploadlog - upload log into pastebin service.
+/announce MESSAGE - show global message.
+/createitems - open dialog for creating items.
+/clear - clear current chat tab.
+/enablehighlight - enable highlight in current tab.
+/disablehighlight - disable highlight in current tab.
+/enableaway - enable away messages in current tab.
+/disableaway - disable away messages in current tab.
+/cleangraphics - remove all cached graphics. Useful for content developers.
+/testparticle FILENAME - set test particle on player.
+/mercenaryfire - fire mercenary.
+/firehomunculus - fire homunculus.
+/sethomunname NAME - set homunculus name.
+/setpetname NAME - set new pet name.
+/petaistart - enable pet ai.
+/petaistop - disable pet ai.
+/petmoveup - move pet one tile up.
+/petmovedown - move pet one tile down.
+/petmoveleft - move pet one tile left.
+/petmoveright - move pet one tile right.
+/petdirectup - rotate pet up.
+/petdirectdown - rotate pet down.
+/petdirectleft - rotate pet left.
+/petdirectright - rorate pet right.
+/cleanfonts - remove all cached render strings.
+/url URL - insert url into chat.
+/open URL - open url in browser.
+/help - show this help.
+/invite NICK - invite a player to your party.
+/leave - leave the party you are in.
+/kick NICK - kick someone from the party you are in.
+/notice TEXT - set notice guild text.
+/item - show party item sharing options.
+/item 0 - disable party item sharing options.
+/item 1 - enable party item sharing options.
+/exp - show party experience sharing options.
+/exp 0 - disable party experience sharing options.
+/exp 1 - enable party experience sharing options.
+@spawn
+@item
+@hugo
+@linus
+@warp
+@goto
+@jump
+@save
+@storage
+@gstorage
+@hide
+@visible
+@invisible
+@die
+@kill
+@alive
+@blvl
+@jlvl
+@pvpon
+@pvpoff
+@killmonster
+@kick
+@broadcast
+@localbroadcast
+@hairstyle
+@haircolor
+@ignorelist
+@killer
+@killable
+@summon
+@skill-learn
+@ipcheck
+'\
+ | less
else
echo 'Incorrect syntax'
help