-= TBoT199 Command List =-
Total Command Count = 220

1 void endScript()
2 boolean autoLogin()
3 void enableAutoLogin()
4 void disableAutoLogin()
5 boolean loggedIn()
6 void login(String username, String password)
7 void displayMessage(String message)
8 boolean running()
9 void wait(int ticks)
10 void logout()
11 void waitForShit()
12 int distance(int x, int y, int distX, int distY)
13 void println(String message)
14 void println(int message)
15 long tickCount()
16 String intToStr(int convert)
17 int strToInt(String convert)
18 int random(int base, int limit)
19 int questMenuCount()
20 String questMenuAnswer(int pos)
21 boolean questMenu()
22 boolean answerQuestMenu(int pos)
23 boolean answerQuestMenu(String message)
24 int fightMode()
25 boolean setFightMode(int mode)
26 int playerCount()
27 String playerName(int pos)
28 int playerID(int pos)
29 int playerX(int pos)
30 int playerY(int pos)
31 int playerLevel(int pos)
32 int playerDistance(int pos)
33 int playerPathLength(int pos)
34 boolean playerInCombat(int pos)
35 String playerLastSaid(int pos)
36 int playerLastSaidTimeout(int pos)
37 int myPlayerX()
38 int myPlayerY()
39 int myPlayerLevel()
40 int myPlayerID()
41 boolean myPlayerInCombat()
42 String myPlayerLastSaid()
43 int myPlayerLastSaidTimeout()
44 int fatigue()
45 boolean sleeping()
46 int questPoints()
47 int playerStat(int stat)
48 int currentStat(int stat)
49 int myPlayerHits()
50 int myPlayerHitsPercentage()
51 boolean bank()
52 boolean shop()
53 void closeBank()
54 String lastServerMessage()
55 void resetLastServerMessage()
56 boolean inLastServerMessage(String st)
57 int npcCount()
58 String npcName(int pos)
59 int npcID(int pos)
60 int npcType(int pos)
61 int npcX(int pos)
62 int npcY(int pos)
63 int npcLevel(int pos)
64 int npcDistance(int pos)
65 int npcPathLength(int pos)
66 String npcCommand(int pos)
67 String npcDesc(int pos)
68 boolean npcInCombat(int pos)
69 boolean npcAttackable(int pos)
70 String npcLastSaid(int pos)
71 int npcLastSaidTimeout(int pos)
72 int doorCount()
73 String doorName(int pos)
74 int doorDir(int pos)
75 int doorType(int pos)
76 int doorX(int pos)
77 int doorY(int pos)
78 int doorDistance(int pos)
79 int doorPathLength(int pos)
80 String doorCommand(int pos)
81 String doorCommand2(int pos)
82 String doorDesc(int pos)
83 boolean door(int x, int y)
84 int findDoor(int x, int y)
85 int objectCount()
86 String objectName(int pos)
87 int objectID(int pos)
88 int objectType(int pos)
89 int objectX(int pos)
90 int objectY(int pos)
91 int objectDistance(int pos)
92 int objectPathLength(int pos)
93 String objectCommand(int pos)
94 String objectCommand2(int pos)
95 String objectDesc(int pos)
96 boolean object(int x, int y)
97 int findObject(int x, int y)
98 boolean canReach(int x, int y)
99 boolean canReachObject(int pos)
100 boolean canReachNpc(int pos)
101 boolean canReachPlayer(int pos)
102 boolean canReachDoor(int pos)
103 boolean openDoor(int pos)
104 boolean closeDoor(int pos)
105 boolean useOnDoor(int slot, int pos)
106 boolean useOnDoorByType(int type, int pos)
107 boolean atObject(int pos)
108 boolean atObject2(int pos)
109 boolean attackNpc(int pos)
110 boolean talkToNpc(int pos)
111 boolean thieveNpc(int pos)
112 void walk(int x, int y)
113 void walkNoWait(int x, int y)
114 void walkRandom(int x, int y, int x2, int y2)
115 void walkRandomNoWait(int x, int y, int x2, int y2)
116 boolean walkPath(int x[], int y[])
117 boolean walkPathReverse(int x[], int y[])
118 boolean isPlayerWalking(int pos)
119 boolean isMyPlayerWalking(int pos)
120 int invCount()
121 int invCount(int item)
122 int inv(int pos)
123 boolean inInv(int type)
124 int invByType(int type)
125 int invByName(String name)
126 int invByCommand(String name)
127 boolean wearing(int pos)
128 int spellByName(String name)
129 int spellLevel(int pos)
130 boolean use(int pos)
131 boolean useByType(int type)
132 boolean useByName(String name)
133 boolean useByCommand(String command)
134 boolean useOnInv(int pos, int pos2)
135 boolean useOnInvByType(int type, int type2)
136 boolean useOnInvByName(String name, String name2)
137 boolean useOnInvByCommand(String command, String command2)
138 boolean castOnInv(int pos, int pos2)
139 boolean castOnInvByName(String name, String name2)
140 boolean drop(int pos)
141 boolean dropByType(int type)
142 boolean dropByName(String name)
143 boolean dropByCommand(String command)
144 boolean wield(int pos)
145 boolean wieldByType(int type)
146 boolean wieldByName(String name)
147 boolean wieldByCommand(String command)
148 boolean remove(int pos)
149 boolean removeByType(int type)
150 boolean removeByName(String name)
151 boolean removeByCommand(String command)
152 int itemCount()
153 int itemType(int pos)
154 int itemX(int pos)
155 int itemY(int pos)
156 boolean itemStackable(int type)
157 String itemName(int type)
158 String itemCommand(int type)
159 String itemDesc(int type)
160 boolean wearable(int type)
161 boolean takeItem(int pos)
162 boolean useOnItem(int pos2, int pos)
163 void withdraw(int item, int amount)
164 void withdraw(int item)
165 void deposit(int item, int amount)
166 void deposit(int item)
167 int bankCount(int item)
168 int findShop(int item)
169 boolean inShop(int item)
170 int buyPrice(int item)
171 int sellPrice(int item)
172 int shopCount(int item)
173 boolean buy(int item)
174 boolean sell(int item)
175 boolean duelPlayer(int pos)
176 boolean myItemArray(int item[], int amount[])
177 boolean updateMyDuelItems()
178 boolean acceptDuel()
179 boolean duel()
180 boolean setDuelOptions(boolean noRetreat, boolean noMagic, boolean noPrayer, boolean noWeapons)
181 boolean duelSecondScreen()
182 boolean myPlayerAcceptedDuelSecondScreen()
183 boolean acceptDuelSecondScreen()
184 boolean declineDuel()
185 boolean tradePlayer(int pos)
186 boolean myTradeArray(int item[], int amount[])
187 boolean updateMyTradeItems()
188 boolean acceptTrade()
189 boolean trade()
190 boolean tradeSecondScreen()
191 boolean myPlayerAcceptedTradeSecondScreen()
192 boolean acceptTradeSecondScreen()
193 boolean declineTrade()
194 int getPathLength(int x, int y)
195 int tryToFree()
196 void say(String message)
197 int playerByName(String name)
198 boolean playerNameExists(String name)
199 String lastChatMessage()
200 String lastChatter()
201 boolean inLastChatMessage(String str)
202 String lastQuestMeessage()
203 int lastQuestNpcId()
204 boolean inLastQuestMessage(String str)
205 void resetLastQuestMessage()
206 String lastPM()
207 String lastPMer()
208 void resetLastPM()
209 void serverMessage(String message)
210 void questMessage(String message, int npcId)
211 void tradeRequest(String playerName)
212 void duelRequest(String playerName)
213 void addToFriends(String name)
214 void removeFromFriends(String name)
215 void sendToFriend(String name, String message)
216 boolean onFriendsList(String name)
217 boolean friendOnline(String name)
218 int friendWorld(String name)
219 int friendCount()
220 int findFriend(String name)