Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Need more help with aimbot =)

by mowgli (Friar)
on Mar 10, 2003 at 22:48 UTC ( [id://241866]=note: print w/replies, xml ) Need Help??


in reply to Need more help with aimbot =)

I'm not sure what exactly your question is now. In any case, I think that using a tied hash would be a better way to go; if you need a separate plain text file for each screen name, for example, Tie::Textdir might be helpful (or at least it looks helpful at first glance).

--
mowgli

Replies are listed 'Best First'.
Re: Re: Need more help with aimbot =)
by Sleepaholic88 (Novice) on Mar 11, 2003 at 00:55 UTC
    I looked at the Tie::TextDir info, but i do not think that that is needed. I am just wondering on how i can make the bot add 1 to the $screenname.emo file when someone says Sorry, srry, sry, and as Nkuvu and bbfu pointed out, sory, but, as I said before, I am not sure how to add a number to what the file allready has in it (maybe it doesnt recognize it as only numerals, and can't add anything?) Thanks.

      Read the existing number from the file, seek to the file's beginning and write back the new number. However, I really think those are gory details that would much better be hidden in a tied hash; Tie::TextDir may not be what you want, but you can always roll your own.

      --
      mowgli

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://241866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-30 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found