Jump to content

darkdoolb

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by darkdoolb

  1. no i mean - the command uses this form : "/w playername msg" where "/w"==whisper, "playername" is replaced with current player's name and "msg" with the message i want to send. So this wont work. Need some kind of read function. It must read my input text. If i type "/w gosu_14 hi dude" for example, the func must read it and if string start with "/w" and ends with ascii {ENTER} than i should copy "/w gosu_14 ". So when "//r" string is found i replayce it with /w gosu_14 It should be something like aototyping the name of the player im whispering to. (Remembers the name of last recipient)
  2. Greetz, I'm writing a script for a game (Warcraft III). However, the function im expirienceing problems with must check if im sending msg to a certain player (the command must look like this: /w PlayerName Msg), than it should copy this part of the command /w PlayerName in the clipboard. So when i decide to send msg again to the same player -ill be able to type '//r' for example and the scrypt must replace '//r' with his name (from clipboard). This way typing player's name again and again wont be neccessary. 1. /w PlayerName Msg 2. //r {ENTER} --> /w PlayerName --- HotKeySet("{F5}", "slow") Func slow() do MouseClick("right") ;if {F5} pressed again -> break ;how could this be done :ermm: until 1=2; until keypressed={F5} or something ..? EndFunc One more question - how can i check if mouse button is clicked? --- thx..
×
×
  • Create New...