forked from cyberkitsune/PSO2Proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcmd_split.py
More file actions
executable file
·18 lines (15 loc) · 822 Bytes
/
Copy pathcmd_split.py
File metadata and controls
executable file
·18 lines (15 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/python
from PSO2DataTools import split_cmd_msg
if __name__ == "__main__":
print (split_cmd_msg("/mn16 doom keen hugs")) # 0 extra swtich
print (split_cmd_msg("/mn16 ")) # command with no text
print (split_cmd_msg("/la sit1 doom keen hugs")) # 1 extra swtich
print (split_cmd_msg("/ci ")) # error?
print (split_cmd_msg("/ci0")) # blank?
print (split_cmd_msg("/ci0 doom keen hugs")) # up to 4
print (split_cmd_msg("/ci0 6 t6 nw s99 doom keen hugs")) # up to 4
print (split_cmd_msg("/ci0 6 t6 s99 doom keen hugs")) # 3?
print (split_cmd_msg("/ci0 6 t6 s99 /doom/keen/hugs")) # 3 with bad commands
print (split_cmd_msg("/ci1 3 hi")) # Meebo@IRC
print (split_cmd_msg("/ci7 2 /la dance22")) # wsky@IRC
print (split_cmd_msg(u"doom keen hugs")) # no commands