summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDipesh Amin <yaypunkrock@gmail.com>2011-08-22 11:23:21 +0100
committerDipesh Amin <yaypunkrock@gmail.com>2011-08-22 11:23:21 +0100
commit4d1a0ffba73b0c21a6529e9387ade801cb6d2c7b (patch)
treefbc6c872351b0686a62e0e3c80607f151973bb6a
parente2eb4a2717bb2661fc25179b0d054b33964bb979 (diff)
downloadmanamarket-4d1a0ffba73b0c21a6529e9387ade801cb6d2c7b.tar.gz
manamarket-4d1a0ffba73b0c21a6529e9387ade801cb6d2c7b.tar.bz2
manamarket-4d1a0ffba73b0c21a6529e9387ade801cb6d2c7b.tar.xz
manamarket-4d1a0ffba73b0c21a6529e9387ade801cb6d2c7b.zip
Clean up some help code.
-rwxr-xr-xmain.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/main.py b/main.py
index 7e2e4e1..965b8ce 100755
--- a/main.py
+++ b/main.py
@@ -129,10 +129,6 @@ def process_whisper(nick, msg, mapserv):
elif broken_string[0] == "!help":
# Sends help information
- if int(user.get('accesslevel')) < 0:
- mapserv.sendall(whisper(nick, "You seem to be a bood guy, please don't harm me anymore."))
- return
-
if len(broken_string) == 1:
mapserv.sendall(whisper(nick, "Welcome to ManaMarket!"))
mapserv.sendall(whisper(nick, "The basic commands for the bot are: !list, !find <id> or <Item Name>, !buy <amount> <uid>, !add <amount> <price> <Item Name>, !money, !relist <uid>, !info, !getback <uid> "))
@@ -145,7 +141,7 @@ def process_whisper(nick, msg, mapserv):
if int(user.get('accesslevel')) >= 5:
mapserv.sendall(whisper(nick, "Ah, you have sellers access level. How lovely!")) # the first words the ticket seller told me when i was in london for the first time. How lovely!
mapserv.sendall(whisper(nick, "Use !add to tell me, I should trade stuff for you:"))
- mapserv.sendall(whisper(nick, "e.g. !add 10 1000 IronOre would tell me to sell 10 [@@640|Iron Ore@@] for a price of 1000 gp"))
+ mapserv.sendall(whisper(nick, "e.g. !add 10 1000 Iron Ore would tell me to sell 10 [@@640|Iron Ore@@] for a price of 1000 gp"))
mapserv.sendall(whisper(nick, "Later you can whisper me !money to get back your money. In the example given, I'd give you 10*1000 = 10000gp"))
elif int(user.get('accesslevel')) == 20:
mapserv.sendall(whisper(nick, "You're my master! How should I serve you?"))