Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyIdent
Author Message
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #1
MyIdent
Hello, i would like to know if that's posible to make for example player have 23as4 uid, and if he write myident he get sysmessage your ident is 23as4 or two three a s four

[FUNCTION MYIDENT]
SYSMESSAGE @53 Your unicue identify number is <uid>

Thanks.
05-06-2012 03:47 PM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: MyIdent
i don't get what do you mean, you seem already solved your problem.
05-06-2012 04:11 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #3
RE: MyIdent
i want in sysmessage it says your ident is 0Oab7 or ziro O A B seven
Becouse few players enter incorrect uid becouse of ziro and O letter
05-06-2012 09:03 PM
Find all posts by this user Like Post Quote this message in a reply
jeem
Apprentice
*

Posts: 33
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 3



Post: #4
RE: MyIdent
Code:
[defname num]
def.numbers "Zero,One,Two,Three,Four,Five,Six,Seven,Eight,Nine"

[function myident]
args =
for 0 <eval strlen(<uid>) - 1>
   if <isnum <strsub <local._for> 1 <uid>>>
      args .= " <getargv <strsub <local._for> 1 <uid>> <def.numbers>>"
   else
      args .= " <strsub <local._for> 1 <uid>>"
   endif
endfor
sysmessage your id number is <args>

[function getargv]
local.toret = <strarg <args>>
args = <streat <args>>
return <argv[<local.toret>]>
(This post was last modified: 05-07-2012 12:32 AM by jeem.)
05-07-2012 12:31 AM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #5
RE: MyIdent
Tyvm jeem ! Wink
(This post was last modified: 05-07-2012 07:20 PM by Alias.)
05-07-2012 07:15 PM
Find all posts by this user Like Post Quote this message in a reply
Vendetta
Apprentice
*

Posts: 39
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #6
RE: MyIdent
wtf?

there can't be O in a hex number lol -.-
(This post was last modified: 05-08-2012 03:28 AM by Vendetta.)
05-08-2012 03:28 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: MyIdent
In soviet russia 0s are O!
05-08-2012 07:31 AM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #8
RE: MyIdent
ROFL!!!
05-08-2012 08:19 AM
Find all posts by this user Like Post Quote this message in a reply
Vendetta
Apprentice
*

Posts: 39
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 0



Post: #9
RE: MyIdent
hex is international/mondial

the alphabet for hex is 0123456789abcdef

you think is O but is zero...
05-08-2012 04:05 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #10
RE: MyIdent
In soviet russia hex alphabet is oO0òÕÖØ
05-08-2012 06:19 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)