EXAMPLES.GAS
EXAMPLES.GAS · 9.3 KB
From the archive gas.zip
Download the archive « Back to the archive contents
GAS - Examples The best way to learn how to use GAS is to print out this list of examples and then try them while you are online. All GAS commands start with a slash and end with the ENTER key. In the following examples, the ENTER key is not usually shown. It's just assumed you will remember to end commands by pressing ENTER. If it has to be specified it will be written as <ENTER>. Since all GAS commands start with a slash, what do you do if you need to type a slash? The back quote (`) is used to toggle GAS on and off. The first time you press it, you will see "OFF" in the lower right screen. This means GAS is turned of and all the keys on the keyboard have their normal function. Except of course for the back quote which will turn GAS back on again. The first time you press the slash, you may be startled to see a "z" appear on the screen. This is intentional. It is done to stop the display from scrolling (and disrupting the menus on the screen). GAS will remove the "z" automatically when it types out any actions for you. FIRST EXAMPLE Go into a room with a few people (at least two) and type: /rb This causes you to bow to everyone in the room. All GAS commands consist of two parts. The first part specifies WHO you want to do something to. The second pard specifies WHAT you want to do. In the above example the "r" means you want to do something to everyone in the room and the "b" means you want to bow. In order for this to work the names of the players must appear on the screen. When you enter a room, the names of the players are displayed. If you wait till they are scrolled off, you have to do a "look" to get them back on the screen. NEXT EXAMPLE While in that same room type: /s This causes you to shake hands with everyone in the room. GAS remembers WHO you did something to last time. So in this example you don't have to specify the "r" because GAS remembers the players you just did something to. "s" means "shake hands" NEXT EXAMPLE Go into another room with some different people and type: /r1 This causes you to send a tell to everyone in the room saying, "Hello. How are you?" Each player only sees one tell from you and they think you are greeting them personally and individually. After trying these examples, you may be thinking, "There sure are a lot of codes to remember. How am I ever going to remember that "r" is room, "b" is bow, and "s" is "shake"?" You don't have to remember these codes. GAS has a built-in menu system to guide you. NEXT EXAMPLE Go into another room with some people and type: /mrb This is the same as /rb except you get to see a menu showing you what "r" and "b" mean. "m" stands for "main menu". NEXT EXAMPLE /mab This is the same as /b except you get to see the main menu and the "actions" menu. "a" means "action menu". If you look on the main menu, you will see some of the more popular actions like bow, shake and hug. But the actions menu contains a much more extensive list. NEXT EXAMPLE /ab This is the same as /mab except you avoid the main menu. You can obtain the names of players in several ways. You can get the names of players in a room - from the WHO list - from a file that you create offline - from the screen when someone does a say or tell to you - or you can input a name by just typing it. NEXT EXAMPLE /mzg This brings up the main menu then zeros (empties) the list of players. It then reads a file to get a new list of players. "z" means "zero". "g" means "get". The name of the file is PLAY.GAS. It is used to hold a permanent list of players (i.e. your friends). The idea is that you may add players in different rooms to the list of players but at some point, you may want to start fresh with an empty list or the list that you have specified in a file. When GAS is loaded it reads the file PLAY.GAS and creates the list of players using the players in that file. NEXT EXAMPLE /mzgp<ENTER><ENTER> This is the same as the last example but shows you the list of players read from the permanent file PLAY.GAS. "p" means "player list". Just hit ENTER to clear the list. Hit ENTER a second time to end the command. NEXT EXAMPLE /mzcpb-d<ENTER>p<ENTER><ENTER> This reads players from the file CAP.GAS. The idea is that you can use the WHO command to get a list of players in the game. GAS comes with a sample file CAP.GAS which contains a capture file of the WHO command. "c" means "capture file". When the window opens requesting that you select a list of players, you can specify a range like "b-e". This selects all players between "b" and "e". A word of warning. When using commands like "c" for "capture" that take a while to finish, you must wait till they are done. You will see the word "DONE" in the lower right hand of the screen. Wait for it before you type the next letter. NEXT EXAMPLE /mp<ENTER>b This shows you the current list of players and highlights the players selected. You will then bow to all the players selected. It's important to understand that even though you may have many players on the player list, the actions you choose will only be done to the ones you select. The player list can hold a maximum of 110 players. They are identified as a-z, A-Z, 1-9, a-z, A-Z, 1-7. How do you specify players in the second range a-z as different from those in the first range a-z? NEXT EXAMPLE /upx- d<ENTER>p This selects a range of players from the first "x" to the second "d". It then displays the selected players. You may enter one blank on the "Select" Menu (but only one). All letters after the blank refer to the second list. NEXT EXAMPLE /up d-h<ENTER>p This selects a range of players from the second "d" to the second "h". NEXT EXAMPLE /n This shows you the number of players on the list and the number of them selected. These numbers appear in the lower right corner of the screen. This is just so you can check while you're learing how to use GAS. NEXT EXAMPLE /mup This "unselects" selected players. It doesn't change the player list - just removes the highlight so none are selected. NEXT EXAMPLE /mop This puts the player list in alphabetical order. "o" means "order". It takes a while to order the player list. Wait till you see "DONE" in the lower right corner after typing "o". The next example explains how to obtain the names of players from the WHO command. Go into the DOS shell and delete the file CAP.GAS. Then you can begin a new capture image to the file CAP.GAS. In Telix this is done with Alt-L. In Telemate it's done with Alt-I. Now type WHO. After the list of players is written to the screen, close the capture file. You can type WHO 1 50 to list only mortals (etc.) NEXT EXAMPLE /mzcpace This empties the current list of players and reads a new list from the capture file. It then selects players a, c and e from that list. NEXT EXAMPLE /pd<ENTER>p<ENTER>b This adds player d to the selection list, shows the updated selection list and bows to the selected players. You don't need to see the updated list if you don't want to. Advanced Considerations When you first press the slash, you are in "command mode". A "z" appears on the screen and as long as you press keys from the first group on the main menu (gcruzonpi), you stay in command mode. So you can add players to the play list, select players, sort the player list, etc. as long as you like. You will stay in command mode. The "z" will stay on the screen. The screen will remain "frozen" and will not scroll. As soon as you specify an action, tell, emote, etc. GAS removes the "z", types your actions, then takes you out of command mode. To get back to command mode you press the slash again. CTL-L - plucks the name of the last person who sent you a tell or a say. It adds them to the selected players, then puts you in command mode. CTL-L does not do anything when you are in command mode. CRL-A - plucks the names of all the people on the screen who sent you a tell or a say. It adds them to the selected players, then puts you in command mode. CTL-A does not do anything when you are in command mode. /iJonathon - adds the name Jonathon to the selected players /t Hello - sends the tell "Hello" to all selected players /t Hello @ - sends the tell "Hello name" to all selected players /e notices @ - sends a personalized emote to all selected players /a say Hello @ | bow @ | c heal @ - makes actions on the fly FAQ Q: If I enter /H I hug and kiss my selected players. H chains together the two actions "hug" and "kiss". But when I look on the actions menu, H does something different. Why? A: The actions on the main menu are independant from actions on other menus. So although /b means bow to all my selected players and /ab means the same thing, it's only because the main menu and actions menu both define "b" as "bow". You can define whatever actions you want on any menu you choose by modifying the GAS Control file (CTL.GAS). Q: I don't understand the logic of the input line. When do I have to type a / and when is it redundant to type one? A: The first group of items on the main menu keep you in the menu. (gcruzonpi). You can keep selecting these items and you don't leave the main menu. You only get out of the main menu when you perform some action by going to one of the "action" menus or pressing the ENTER key.