Monty 
Apprentice

Posts: 40
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jun 2012
Reputation: 1
![]()
|
RE: Online List/Messenger 2.0
(06-28-2013 09:05 PM)Monty Wrote: Hi
Maybe i do something wrong but i got erron on this line(add friend):
if (<LIST.<src.account>_friends.FINDELEM <argo.uid>>==-1)
...
I fixed it myself. If somebody want fix it too or author wants update.
I hope that the author will not kill me.
This line 431- 446 delete
Code:
if (<eval <LIST.<src.account>_friends.COUNT>-1> < <ddef.max_friends>)
if (<LIST.<src.account>_friends.FINDELEM <argo.uid>>==-1)
src.sysmessage @,,1 Friend request sent!
argo.ctag0.friend_request <local.request>
trysrc <argo.uid> dialog d_friend_request
return 1
else
src.sysmessage @,,1 <argo.name> is already on your friends list.
return 1
endif
else
src.sysmessage @,,1 Your friends list is full
src.sysmessage @,,1 You must delete someone before you can add a new one
return 1
endif
and place this
Code:
if <LIST.<src.account>_friends.COUNT>
if (<eval <LIST.<src.account>_friends.COUNT>-1> < <ddef.max_friends>)
if (<LIST.<src.account>_friends.FINDELEM <argo.uid>>==-1)
src.sysmessage @,,1 Friend request sent!
argo.ctag0.friend_request <local.request>
trysrc <argo.uid> dialog d_friend_request
return 1
else
src.sysmessage @,,1 <argo.name> is already on your friends list.
return 1
endif
else
src.sysmessage @,,1 Your friends list is full
src.sysmessage @,,1 You must delete someone before you can add a new one
return 1
endif
else
src.sysmessage @,,1 Friend request sent!
argo.ctag0.friend_request <local.request>
trysrc <argo.uid> dialog d_friend_request
return 1
endif
C# application developer.
C/C++,SQL,PLSQL programming.
Oracle database / information system developer.
Cooperation for development of new shard.
|
|
07-02-2013 09:52 PM |
|
|